[Mono-bugs] [Bug 72015][Nor] Changed - defining a delegate inside the Array class sets parent to null

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Wed, 2 Feb 2005 08:16:10 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by martin@ximian.com.

http://bugzilla.ximian.com/show_bug.cgi?id=72015

--- shadow/72015	2005-02-01 10:22:06.000000000 -0500
+++ shadow/72015.tmp.32458	2005-02-02 08:16:10.000000000 -0500
@@ -1,13 +1,13 @@
 Bug#: 72015
 Product: Mono: Compilers
 Version: 1.1
 OS: unknown
 OS Details: 
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: WONTFIX
 Severity: Unknown
 Priority: Normal
 Component: C#
 AssignedTo: martin@ximian.com                            
 ReportedBy: lupus@ximian.com               
 QAContact: mono-bugs@ximian.com
@@ -20,6 +20,41 @@
 in corlib:
 delegate void Swapper (int i, int j);
 will amke mcs set the parent type to null instead
 of MulticastDelegate.
 To reproduce, just add to the class, compile and monodis
 the resulting corlib: it will hit an assert in the runtime.
+
+------- Additional Comments From martin@ximian.com  2005-02-02 08:16 -------
+This problem is unique to corlib compilation due to the order in
+which the core classes are resolved.
+
+It'll only happen if you try to use a delegate in any of the
+following classes.
+
+System.Object
+System.ValueType
+System.Attribute
+System.Byte
+System.SByte
+System.Int16
+System.UInt16
+System.Int32
+System.UInt32
+System.Int64
+System.UInt64
+System.Single
+System.Double
+System.Char
+System.Boolean
+System.Decimal
+System.Void
+System.RuntimeFieldHandle
+System.RuntimeArgumentHandle
+System.RuntimeTypeHandle
+System.IntPtr
+System.TypedReference
+System.ArgIterator
+System.String
+System.Enum
+System.Array
+