[Mono-bugs] [Bug 59640][Nor] Changed - mcs event attributes to add/remove methods instead of event itself

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 6 Jun 2004 00:13:23 -0400 (EDT)


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 bmaurer@users.sf.net.

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

--- shadow/59640	2004-06-05 23:59:04.000000000 -0400
+++ shadow/59640.tmp.17775	2004-06-06 00:13:23.000000000 -0400
@@ -1,14 +1,14 @@
 Bug#: 59640
 Product: Mono: Compilers
 Version: unspecified
-OS: 
+OS: unknown
 OS Details: 
 Status: NEW   
 Resolution: 
-Severity: 
+Severity: Unknown
 Priority: Normal
 Component: C#
 AssignedTo: mono-bugs@ximian.com                            
 ReportedBy: mathpup@mylinuxisp.com               
 QAContact: mono-bugs@ximian.com
 TargetMilestone: ---
@@ -67,6 +67,20 @@
   .method public hidebysig specialname instance void  
           add_MyEvent(class Test/DelType 'value') cil managed 
   { 
     .custom instance void SignalAttribute::.ctor() = ( 01 00 00 00 ) 
 	// etc 
    }
+
+------- Additional Comments From bmaurer@users.sf.net  2004-06-06 00:13 -------
+`An attribute specified on an event declaration that omits event
+accessors can apply to the event being declared, to the associated
+field (if the event is not abstract), or to the associated add and
+remove methods. In the absence of an attribute-target-specifier, the
+attribute applies to the event declaration. The presence of the event
+attribute-target-specifier indicates that the attribute applies to the
+event; the presence of the field attribute-target-specifier indicates
+that the attribute applies to the field; and the presence of the
+method attribute-target-specifier indicates that the attribute applies
+to the methods.'
+
+This is the text of the section of the spec Marcus cited.