[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
Sun Feb 18 17:52:52 EST 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 peterw at home.se.

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

--- shadow/80731	2007-02-09 19:42:03.000000000 -0500
+++ shadow/80731.tmp.17780	2007-02-18 17:52:52.000000000 -0500
@@ -55,6 +55,22 @@
 Created an attachment (id=18623)
 Files needed to reproduce the issue.
 
 
 ------- Additional Comments From frederik.carlier at ugent.be  2007-02-05 14:24 -------
 fix typo in summary
+
+------- Additional Comments From peterw at home.se  2007-02-18 17:52 -------
+I get a similar problem. Trying to compile the following code (with
+gmcs 1.2.3.1) also gives error 
+test.cs(7,5): error CS0305: Using the generic type `A<T>.B' requires 1
+type arguments.
+The code:
+partial class A<T>
+{
+    class B {}
+}
+partial class A<T>
+{
+    B b;
+}
+


More information about the mono-bugs mailing list