[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, 23 Feb 2003 05:14:46 -0500 (EST)
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 martin@ximian.com.
http://bugzilla.ximian.com/show_bug.cgi?id=37521
--- shadow/37521 Sun Feb 23 05:13:40 2003
+++ shadow/37521.tmp.22994 Sun Feb 23 05:14:46 2003
@@ -1,12 +1,12 @@
Bug#: 37521
Product: Mono/MCS
Version: unspecified
OS: unknown
OS Details:
-Status: NEW
+Status: ASSIGNED
Resolution:
Severity: Unknown
Priority: Normal
Component: Misc
AssignedTo: martin@ximian.com
ReportedBy: mathpup@mylinuxisp.com
@@ -87,9 +87,39 @@
{
protected static event MousePressEvent mousePressEvent;
protected delegate void MousePressEvent ();
}
+}
+
+
+
+------- Additional Comments From martin@ximian.com 2003-02-23 05:14 -------
+namespace QtSamples
+{
+ using Qt;
+
+ public class QtClass: QtSupport
+ {
+ public QtClass()
+ {
+ mousePressEvent += new MousePressEvent( pressEvent );
+ }
+
+ public void pressEvent() { }
+ }
+
+
+ public class Testing
+ {
+ public static void Main()
+ {
+ QtClass q = new QtClass();
+ }
+
+
+
+ }
}