You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 13, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Nov 13, 2026. It is now read-only.
Enum.IsDefined does not work in reflection-free mode #8216
I would like to fix that for the next incarnation of the reflection free mode that would make type metadata available, but still not allow reflection on fields and methods. It's likely such mode would be more practical. The current reflection-free mode (where nothing works) was just much cheaper to bring up.
Activity
MichalStrehovsky commentedon Jun 27, 2020
Enum APIs don't currently work: https://github.com/dotnet/corert/blob/master/Documentation/using-corert/reflection-free-mode.md#reflection-apis-that-are-up-for-discussion
I would like to fix that for the next incarnation of the reflection free mode that would make type metadata available, but still not allow reflection on fields and methods. It's likely such mode would be more practical. The current reflection-free mode (where nothing works) was just much cheaper to bring up.