[Mono-bugs] [Bug 27193][Wis] New - Using an Eventhandler with add/remove accessors fails in Constructor of the defining class

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
28 Jun 2002 12:30:53 -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 jpo234@netscape.net.

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

--- shadow/27193	Fri Jun 28 08:30:53 2002
+++ shadow/27193.tmp.23885	Fri Jun 28 08:30:53 2002
@@ -0,0 +1,40 @@
+Bug#: 27193
+Product: Mono/MCS
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: jpo234@netscape.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Using an Eventhandler with add/remove accessors fails in Constructor of the defining class
+
+Please fill in this template when reporting a bug, unless you know what you
+are doing.
+Description of Problem:
+
+
+Steps to reproduce the problem:
+1. Compile the attached program
+
+Actual Results:
+mcs Event.cs
+Event.cs(27) error CS0070: The event 'counted' can only appear on the
+left-side of a += or -= (except when used from within the type 'EventSender')
+Compilation failed: 1 error(s), 0 warnings
+RESULT: 1
+
+
+Expected Results: no error
+
+
+How often does this happen? always
+
+Additional Information: