Bugzilla – Bug 311254
Using an Eventhandler with add/remove accessors fails in Constructor of the defining class
Last modified: 2007-09-15 21:24:23 UTC
---- Reported by jpo234@netscape.net 2002-06-28 08:30:53 MST ---- 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: ---- Additional Comments From jpo234@netscape.net 2002-06-28 08:31:58 MST ---- Created an attachment (id=164286) A small Program that demonstrates the problem. ---- Additional Comments From lupus@ximian.com 2002-07-08 10:29:58 MST ---- *** This bug has been marked as a duplicate of https://bugzilla.novell.com/show_bug.cgi?id=MONO25433 *** Imported an attachment (id=164286) Unknown operating system unknown. Setting to default OS "Other". This bug was marked DUPLICATE in the database it was moved from. Changing resolution to "MOVED"