[Mono-dev] custom mscorlib.dll with fields in .Array

banan bann-andrej at mail.ru
Fri Jun 5 05:13:59 EDT 2009


I need to use custom mscorlib.dll library with some fields defined in
System.Array. csc on .net compiles assemblies referencing it with no
problem, but when trying to compile anything referencing this mscorlib.dll
with gmcs (Mono 2.4) an assertion fault occurs in metadata/class.c at the
code

	/* reserve space to store vector pointer in arrays */
	if (!strcmp (nspace, "System") && !strcmp (name, "Array")) {
		class->instance_size += 2 * sizeof (gpointer);
		g_assert (class->field.count == 0);
	}

The question is: am I violating the standard or it is a bug in mono?

Thanks.
-- 
View this message in context: http://www.nabble.com/custom-mscorlib.dll-with-fields-in-.Array-tp23876171p23876171.html
Sent from the Mono - Dev mailing list archive at Nabble.com.



More information about the Mono-devel-list mailing list