IL2CPP: Implement GetGenericMethodPointer and VirtualAddress for concrete generic methods from MethodSpecs

This commit is contained in:
Katy Coe
2020-02-02 07:20:02 +01:00
parent 63eb2562b7
commit 21e77b7965
2 changed files with 10 additions and 1 deletions

View File

@@ -160,7 +160,7 @@ namespace Il2CppInspector.Reflection
DeclaredParameters.Add(new ParameterInfo(model, p, genericArguments[p.ParameterType.GenericParameterPosition]));
}
// TODO: Populate VirtualAddress via Il2CppGenericMethodFunctionsDefinitions
VirtualAddress = model.Package.GetGenericMethodPointer(spec);
}
public string GetAccessModifierString() => this switch {