-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Move ReflectionCoreCallbacks into ReflectionAugments #109912
Conversation
Leftover work identified in dotnet#109857.
using Internal.Runtime; | ||
using Internal.Runtime.Augments; | ||
|
||
using EETypeElementType = Internal.Runtime.EETypeElementType; | ||
|
||
namespace Internal.Reflection.Augments | ||
{ | ||
public static class ReflectionAugments |
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.
Can this be internal and deleted from CompatibilitySuppressions.xml?
get | ||
{ | ||
// Reflection needs to work as the exception code calls GetType() and GetType().ToString() | ||
return ReflectionAugments.IsInitialized; |
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.
Should this check whether s_executionEnvironment
is initialized?
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.
Thanks!
Leftover work identified in dotnet#109857.
Leftover work identified in #109857.
Cc @dotnet/ilc-contrib