[Mono-bugs] [Bug 37521][Nor] Changed - mcs does not allow access to protected events in subclasses

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
Sun, 29 Jun 2003 01:31:56 -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 miguel@ximian.com.


--- shadow/37521	Thu Jun 26 00:38:01 2003
+++ shadow/37521.tmp.25257	Sun Jun 29 01:31:56 2003
@@ -1,13 +1,13 @@
 Bug#: 37521
 Product: Mono/MCS
 Version: unspecified
 OS: unknown
 OS Details: 
-Status: REOPENED   
+Status: RESOLVED   
+Resolution: FIXED
 Severity: Unknown
 Priority: Normal
 Component: Misc
 AssignedTo: martin@ximian.com                            
 ReportedBy: mathpup@mylinuxisp.com               
 QAContact: mono-bugs@ximian.com
@@ -157,6 +157,20 @@
 mcs compiled mouse.cs against event.dll without complaint. 
 I do not know why mcs marks protected delegates as "public". This might be a 
 bug in mcs. 
+------- Additional Comments From miguel@ximian.com  2003-06-29 01:31 -------
+Ok, there were two bugs in MCS:
+* We did in fact not set the flags properly for delegates (fixed).
+* We did not perform all the accessibility tests required, we do now,
+and MCS is stricter now as a result (it would have allowed buggy code
+to work before).
+I also added a regression test to the test suite to catch this case in
+the future.
+This should be fixed now.