Replies: 1 comment
-
The context is that I wanted the all the bases of a method, so I used https://github.com/mono/linker/blob/main/src/linker/Linker/TypeMapInfo.cs static MethodReference EnsureGenericReference(MethodDefinition def, TypeReference type)
{
if (type is GenericInstanceType t)
{
var method = TypeReferenceExtensions.MakeMethodReferenceForGenericInstanceType(t, def);
return method;
}
return def;
} This code fails when attempting to import the method that was created |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If I have some code like
It complies in a .override instruction
I don't know if my code is wrong, but when I try to Import a reference like this to use as a .override instruction, I get this error:
reference.ToString():
Any ideas?
Beta Was this translation helpful? Give feedback.
All reactions