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 [EMAIL PROTECTED]

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: [EMAIL PROTECTED]                            
+ReportedBy: [EMAIL PROTECTED]               
+QAContact: [EMAIL PROTECTED]
+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 ();
+        }
+}
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to