Ref: https://github.com/dotnet/macios/blob/591ef5fb6e3d50d86fa0406c6bfe940d9f1b3a9a/tests/test-libraries/testgenerator.cs#L24 We had to comment out some test cases because it caused the AOT compiler to assert: https://github.com/dotnet/runtime/issues/112850 We should add those test cases back once the AOT compiler is fixed.