[Mono-bugs] [Bug 25433] Changed - mcs chokes on NullRefException when assigning event handlers
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 firstname.lastname@example.org.
--- 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
mcs should probably GetFieldFromEvent() also in the parent types.
It fails on both the ms and mono runtimes.
+------- Additional Comments From email@example.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.