[Mono-bugs] [Bug 72015][Nor] New - defining a delegate inside the Array class sets parent to null
bugzilla-daemon@bugzilla.ximian.com
bugzilla-daemon@bugzilla.ximian.com
Mon, 31 Jan 2005 12:28:13 -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 lupus@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=72015
--- shadow/72015 2005-01-31 12:28:13.000000000 -0500
+++ shadow/72015.tmp.535 2005-01-31 12:28:13.000000000 -0500
@@ -0,0 +1,25 @@
+Bug#: 72015
+Product: Mono: Compilers
+Version: 1.1
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Normal
+Component: C#
+AssignedTo: mono-bugs@ximian.com
+ReportedBy: lupus@ximian.com
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: defining a delegate inside the Array class sets parent to null
+
+Just adding this declaration inside Systm/Array.cs
+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.