[Mono-bugs] [Bug 59792][Nor] New - missing synchronization for add/remove accessors

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Tue, 8 Jun 2004 08:10:01 -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 marek.safar@seznam.cz.

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

--- shadow/59792	2004-06-08 08:10:01.000000000 -0400
+++ shadow/59792.tmp.6052	2004-06-08 08:10:01.000000000 -0400
@@ -0,0 +1,48 @@
+Bug#: 59792
+Product: Mono: Compilers
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: C#
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: marek.safar@seznam.cz               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: missing synchronization for add/remove accessors
+
+Steps to reproduce the problem:
+
+1. Compile
+
+using System; 
+ 
+public class Test 
+{ 
+	public delegate void DelType(); 
+ 
+	public event DelType MyEvent; 
+ 
+	public static void Main() {} 
+} 
+
+Actual Results:
+
+.method public hidebysig specialname instance void 
+        add_MyEvent(class Test/DelType 'value') cil managed
+
+Expected Results:
+
+.method public hidebysig specialname instance void 
+        add_MyEvent(class Test/DelType 'value') cil managed synchronized
+
+
+
+How often does this happen? 
+
+Always