Skip to content

Delete remaining reflection security checks - #2348

Merged
jkotas merged 4 commits into
dotnet:masterfrom
jkotas:RefSecContext
Jan 31, 2020
Merged

jkotas merged 4 commits into
dotnet:masterfrom
jkotas:RefSecContext

Conversation

@jkotas

@jkotas jkotas commented Jan 29, 2020

Copy link
Copy Markdown
Member

Most the reflection security checks to restrict use of private reflection were deleted in CoreCLR years ago. There were still some left that got noticed in performance profiles.

Most the reflection security checks to restrict use of private reflection were deleted in CoreCLR years ago. There were still some left that got noticed in performance profiles.
Comment thread src/coreclr/src/vm/clsload.hpp Outdated

//-------------------------------------------------------------------------------------------
//
// TODO: Clean this up

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there an issue tracking this?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am going to clean it up as part of this PR. I submitted this as draft to see whether there are any tests failing.

@jkotas
jkotas marked this pull request as ready for review January 31, 2020 10:41
@jkotas
jkotas merged commit cf9956e into dotnet:master Jan 31, 2020
@jkotas
jkotas deleted the RefSecContext branch February 1, 2020 19:35
@ghost ghost locked as resolved and limited conversation to collaborators Dec 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants