[Mono-devel-list] Exception at System.Type.IsAssignableFrom when using AssemblyBuilderAccess.Save

Kamil Skalski nazgul at nemerle.org
Sun Dec 19 18:09:24 EST 2004


We have encountered a little bug in mono when using 
System.Reflection.Emit.AssemblyBuilder with AssemblyBuilderAccess.Save 
attribute given. 
When IsAssignableFrom method of System.Type is called for mscorlib's 
System.IComparable against currently builded type, the exception occurs in 

Object reference not set to an instance of an object
in <0xc73f8a1c> (wrapper managed-to-native) 
System.Type:type_is_assignable_from (System.Type,System.Type)
in <0x00004> (wrapper managed-to-native) System.Type:type_is_assignable_from 
in <0x0003a> System.Type:IsAssignableFrom (System.Type)

I don't have yet the simple testcase - it is occuring while compiling program 
with Nemerle compiler and separting the issue will probably take some more 
time. Does someone know what it might be? Otherwise I will try to create the 
bugreport with testcase.


More information about the Mono-devel-list mailing list