[Mono-bugs] [Bug 35856][Min] Changed - Missing `Inconsistent accessibility' warning

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
18 Dec 2002 18:24:08 -0000


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=35856

--- shadow/35856	Wed Dec 18 13:23:40 2002
+++ shadow/35856.tmp.29742	Wed Dec 18 13:24:08 2002
@@ -95,6 +95,26 @@
 
 
 
 
 ------- Additional Comments From martin@ximian.com  2002-12-18 13:23 -------
 *** Bug 34823 has been marked as a duplicate of this bug. ***
+
+------- Additional Comments From martin@ximian.com  2002-12-18 13:24 -------
+
+// cs0055.cs: Inconsistent accessibility. Parameter type is less
+accessible than indexer.
+// Line:  10
+
+using System;
+
+class ErrorCS0055 {
+}
+
+class Foo {
+        public ErrorCS0055 this[ErrorCS0055 e] {
+                get { return new ErrorCS0055 (); }
+        }
+
+        public static void Main () {
+        }
+}