This repo contains CoreRT, an experimental .NET Core runtime optimized for AOT (ahead of time compilation) scenarios, with the accompanying compiler toolchain.
The current set of framework assemblies in CoreRT has an infinite loop resolving System.Random. It is type forwarded from mscorlib to System.Runtime.Extensions, and forwarded back from System.Runtime.Extensions to mscorlib. This causes a StackOverflowException in ILC when resolving the type.
We should detect cycles while resolving a type in the presence of forwarders and fail with an error message.
The current set of framework assemblies in CoreRT has an infinite loop resolving
System.Random
. It is type forwarded from mscorlib to System.Runtime.Extensions, and forwarded back from System.Runtime.Extensions to mscorlib. This causes a StackOverflowException in ILC when resolving the type.We should detect cycles while resolving a type in the presence of forwarders and fail with an error message.