diff --git a/Cpp2IL.Core/Utils/AsmResolver/TypeDefinitionsAsmResolver.cs b/Cpp2IL.Core/Utils/AsmResolver/TypeDefinitionsAsmResolver.cs index b19b04fa..8509933a 100644 --- a/Cpp2IL.Core/Utils/AsmResolver/TypeDefinitionsAsmResolver.cs +++ b/Cpp2IL.Core/Utils/AsmResolver/TypeDefinitionsAsmResolver.cs @@ -111,7 +111,7 @@ public static void CacheNeededTypeDefinitions() Type = AsmResolverUtils.TryLookupTypeDefKnownNotGeneric("System.Type")!; TypedReference = AsmResolverUtils.TryLookupTypeDefKnownNotGeneric("System.TypedReference")!; IConvertible = AsmResolverUtils.TryLookupTypeDefKnownNotGeneric("System.IConvertible")!; - MethodInfo = AsmResolverUtils.TryLookupTypeDefKnownNotGeneric("System.MethodInfo")!; + MethodInfo = AsmResolverUtils.TryLookupTypeDefKnownNotGeneric("System.Reflection.MethodInfo")!; _primitiveTypeMappings = new Dictionary