Open VSadov opened 8 years ago
You mentioned ref-emit not being supported in AOT. Once we get the AOT infrastructure up and running, I can try to convert classes created using ref-emit into IL - also would be a good opportunity for me to learn IL!
This issue is tracking running the interpreted mode which is currently not enabled: https://github.com/dotnet/corefx/blob/master/src/System.Linq.Expressions/src/System.Linq.Expressions.csproj#L10
Is this still up work?
We had some recent test changes that would not be runnable under AOT for sure and nothing was broken. That proves that we do not run Linq.Expressions with AOT.
Also, attempts to run tests with AOT wee not very successful.
We need to make sure the tests are runnable with AOT.
That includes figuring out how to exclude scenarios that are known not AOT compatible - like usage of Reflection.Emit in tests. Most likely introduce some
#if
in the code and, parameterise the csproj file to not take dependencies on stuff like Ref.Emit when targeting AOT.