-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove Reflection.Emit APIs #56153
Remove Reflection.Emit APIs #56153
Conversation
Removes all unused leftover APIs Fix dotnet#49452
@i3arnon the only thing which is left is to remove |
@i3arnon seems you got some build errors:
|
What about
I believe those public methods should be deleted as well |
Should I just delete the API or follow through all the way? It goes quite deep. And it continues from there. |
I think for this PR, let's just remove the public methods. It would definitely go quite deep to start removing the unused |
The test failures don't seem to be related. |
I've kicked off a re-run of the failed jobs. @krwq This PR is assigned to you for follow-up before the RC1 snap. |
@i3arnon this looks good to me, are you planning to also remove |
I don't believe we should change this. See the code comment for an explanation. fyi @MichalStrehovsky since this references CoreRT. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks @i3arnon for the contribution!
Now that this is merge.. should I do that follow up PR? |
@i3arnon yes please, if don't have time please create an issue |
Yeah, the reflection stack in NativeAOT is not implemented in CoreLib so keeping this protected internal allows the NativeAOT reflection stack to override. If we undo that here, we'll need to undo that change in NativeAOT again. Appreciate that we don't have to :). |
* Remove unused System.Reflection.Emit leftovers Follow up to #56153 * Remove nCreateISymWriterForDynamicModule * Removes LineNumberInfo, MarkSequencePoint & GetMethodSigHelper * Remove MarkSequencePoint from mono * Fix GetMethodSigHelper overloads * Match changes in mono * Remove SequencePointList from mono
Removes all unused leftover Reflection.Emit APIs
Fix #49452