[Mono-bugs] [Bug 75417][Wis] New - [GMCS] custom accessor modifiers
not working with generics?
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Wed Jun 29 02:46:48 EDT 2005
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 rharinath at novell.com.
http://bugzilla.ximian.com/show_bug.cgi?id=75417
--- shadow/75417 2005-06-29 02:46:48.000000000 -0400
+++ shadow/75417.tmp.16646 2005-06-29 02:46:48.000000000 -0400
@@ -0,0 +1,38 @@
+Bug#: 75417
+Product: Mono: Compilers
+Version: 1.1
+OS:
+OS Details:
+Status: NEW
+Resolution:
+Severity:
+Priority: Wishlist
+Component: C#
+AssignedTo: mono-bugs at ximian.com
+ReportedBy: rharinath at novell.com
+QAContact: mono-bugs at ximian.com
+TargetMilestone: ---
+URL:
+Cc:
+Summary: [GMCS] custom accessor modifiers not working with generics?
+
+The following testcase (added as gtest-179.cs) fails compilation. It
+compiles fine with CSC. The variant without generics also compiles fine
+both with mcs and gmcs.
+
+public class X<T> {
+ public static int i {
+ get { return 0; }
+ private set { }
+ }
+ public static int myMain ()
+ {
+ return i++;
+ }
+}
+public class Y {
+ static int Main ()
+ {
+ return X<Y>.myMain ();
+ }
+}
More information about the mono-bugs
mailing list