Roslyn emits invalid IL with enums that aren't expressible in C# #68770
Labels
Area-Compilers
Bug
help wanted
The issue is "up for grabs" - add a comment if you are interested in working on it
Milestone
Version Used:
Any
Steps to Reproduce:
UncommonEnums.dll
:Diagnostic Id:
n/a
Expected Behavior:
Valid loads are generated.
Actual Behavior:
ldind.ref
is generated for the weird enums which then crashes the JIT with:Discovered in: dotnet/runtime#88006
cc @jkotas
The text was updated successfully, but these errors were encountered: