[Mono-bugs] [Bug 80731][Nor] Changed - [GMCS] Error CS0305 using event with generic parameter in partial class

bugzilla-daemon at bugzilla.ximian.com bugzilla-daemon at bugzilla.ximian.com
Tue Mar 13 11:18:55 EDT 2007


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 at ximian.com.

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

--- shadow/80731	2007-03-13 10:16:39.000000000 -0500
+++ shadow/80731.tmp.30186	2007-03-13 10:18:55.000000000 -0500
@@ -71,6 +71,29 @@
 }
 partial class A<T>
 {
     B b;
 }
 
+
+------- Additional Comments From martin at ximian.com  2007-03-13 10:18 -------
+=====
+namespace Monobug
+{
+    public partial class Test<T>
+    {
+            public delegate void TestDelegate(object sender, T value);
+                public virtual event TestDelegate TestEvent;
+    }
+}
+=====
+
+and
+
+=====
+namespace Monobug
+{
+    partial class Test<T>
+    {
+    }
+}
+=====


More information about the mono-bugs mailing list