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
Unhandled Exception: System.TypeInitializationException: A type initializer threw an exception. To determine which type, inspect the InnerException's StackTrace property.
---> System.PlatformNotSupportedException: Operation is not supported on this platform.
at Internal.Runtime.TypeLoader.ExternalReferencesTable.GetRvaFromIndex(UInt32) + 0x24
at TypeUtilities..cctor() + 0x9
at System.Runtime.CompilerServices.ClassConstructorRunner.EnsureClassConstructorRun(StaticClassConstructionContext*) + 0xc6
--- End of inner exception stack trace ---
at System.Runtime.CompilerServices.ClassConstructorRunner.EnsureClassConstructorRun(StaticClassConstructionContext*) + 0x167
at System.Runtime.CompilerServices.ClassConstructorRunner.CheckStaticClassConstructionReturnGCStaticBase(StaticClassConstructionContext*, Object) + 0xd
at Program.<Main>$(String[]) + 0xc
at NaotTest!<BaseAddress>+0x1b6113
Regression?
No response
Known Workarounds
No response
Configuration
.NET: latest nightly version
ILC: nightly
Other information
No response
The text was updated successfully, but these errors were encountered:
Description
Repro:
Reproduction Steps
Build with NativeAOT and run.
Expected behavior
No exception should be thrown.
Actual behavior
Regression?
No response
Known Workarounds
No response
Configuration
.NET: latest nightly version
ILC: nightly
Other information
No response
The text was updated successfully, but these errors were encountered: