зеркало из https://github.com/mono/ikvm-fork.git
ConstructorInfoImpl.ImportTo() should forward to MethodInfo.ImportTo() because we don't want to cache the non-canonical underlying MethodInfo in the module as this is both unneeded and breaks for ModuleBuilder which also uses the cache to reverse lookup tokens.
This commit is contained in:
Родитель
44e6663f50
Коммит
e921dbc01d
|
@ -218,7 +218,7 @@ namespace IKVM.Reflection
|
|||
|
||||
internal override int ImportTo(Emit.ModuleBuilder module)
|
||||
{
|
||||
return module.ImportMember(method);
|
||||
return method.ImportTo(module);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче