Hello,

I've run into strange SEGV in MonoGenericClass.initialize(). After a few
hours of debugging I have found that GetParentType() sometimes returns
MonoType and not MonoGenericType as it is supposed to.

The MonoType is taken from domain->type_hash in mono_type_get_object,
maybe this is the source of the problem?

MonoGenericClass is constructed from a TypeBuilder, while its parent is
loaded from external library.

Or maybe this is just normal, and my solution (to make GetParentType
return System.Type and use "as MonoGenericClass") is right?

-- 
   Michal Moskal,
   http://nemerle.org/~malekith/
_______________________________________________
Mono-devel-list mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to