[Mono-bugs] [Bug 25433] Changed - mcs chokes on NullRefException when assigning event handlers

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
4 Jun 2002 17:01:14 -0000


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=25433

--- shadow/25433	Fri May 31 11:10:39 2002
+++ shadow/25433.tmp.24915	Tue Jun  4 13:01:14 2002
@@ -53,6 +53,15 @@
 ------- Additional Comments From mkestner@speakeasy.net  2002-05-28 22:37 -------
 Just an FYI, this occurred with mcs on mono on linux from CVS at
 approximately 21:00 CST 5/28/2002
 
 ------- Additional Comments From lupus@ximian.com  2002-05-31 11:10 -------
 mcs dies in the same way when running with the ms runtime.
+
+------- Additional Comments From lupus@ximian.com  2002-06-04 13:01 -------
+The nullreference error is fixed, but mcs still can't compile the test:
+event.cs(7) error CS0070: The event 'Blah' can only appear on the
+left-side of a += or -= (except when used from within the type
+'TestBaseClass')
+
+mcs should probably GetFieldFromEvent() also in the parent types.
+It fails on both the ms and mono runtimes.