[Mono-bugs] [Bug 25433] Changed - mcs chokes on NullRefException when assigning event handlers
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
13 Jun 2002 19:26:47 -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 ravi@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=25433
--- shadow/25433 Tue Jun 4 13:01:14 2002
+++ shadow/25433.tmp.18434 Thu Jun 13 15:26:47 2002
@@ -62,6 +62,14 @@
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.
+
+------- Additional Comments From ravi@ximian.com 2002-06-13 15:26 -------
+I agree fully with Paolo's assessment of the problem - perhaps I
+need to revamp the way I deal with events and their transformation
+into fields. The problem is that GetFieldFromEvent () is really a
+workaround more than a neat approach to the problem
+
+I am going to tackle this soon.