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:
jfrijters 2010-05-27 08:23:46 +00:00
Родитель 44e6663f50
Коммит e921dbc01d
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -218,7 +218,7 @@ namespace IKVM.Reflection
internal override int ImportTo(Emit.ModuleBuilder module)
{
return module.ImportMember(method);
return method.ImportTo(module);
}
}
}