зеркало из https://github.com/mono/ikvm-fork.git
Fixed regression introduced with the switch to IKVM.Reflection.Emit. We cannot use the Type.Assembly property for TypeBuilders.
This commit is contained in:
Родитель
d592720c9c
Коммит
d7b29bfca9
|
@ -3011,7 +3011,7 @@ namespace IKVM.Internal
|
|||
Console.Error.WriteLine("Error: custom assembly class loader class not found");
|
||||
return 1;
|
||||
}
|
||||
if(!wrapper.IsPublic && !wrapper.TypeAsBaseType.Assembly.Equals(assemblyBuilder))
|
||||
if(!wrapper.IsPublic && !ReflectUtil.IsFromAssembly(wrapper.TypeAsBaseType, assemblyBuilder))
|
||||
{
|
||||
Console.Error.WriteLine("Error: custom assembly class loader class is not accessible");
|
||||
return 1;
|
||||
|
|
Загрузка…
Ссылка в новой задаче