Several ModuleTests in System.Runtime.Tests fail on NativeAOT Apple mobile. The tests call Module.GetField, Module.GetFields, Module.GetMethod, and Module.GetMethods, which return empty or null results because NativeAOT does not keep module-level metadata.
Failing tests (System/Reflection/ModuleTests.cs):
ModuleTests.GetField
ModuleTests.GetFields
ModuleTests.GetMethod
ModuleTests.GetMethod_AmbiguousMatch
ModuleTests.GetMethods
Several
ModuleTestsinSystem.Runtime.Testsfail on NativeAOT Apple mobile. The tests callModule.GetField,Module.GetFields,Module.GetMethod, andModule.GetMethods, which return empty or null results because NativeAOT does not keep module-level metadata.Failing tests (
System/Reflection/ModuleTests.cs):ModuleTests.GetFieldModuleTests.GetFieldsModuleTests.GetMethodModuleTests.GetMethod_AmbiguousMatchModuleTests.GetMethods