[Mono-bugs] [Bug 35856][Min] Changed - Missing `Inconsistent accessibility' warning
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
18 Dec 2002 18:23:27 -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:00 2002
+++ shadow/35856.tmp.27625 Wed Dec 18 13:23:27 2002
@@ -64,6 +64,34 @@
public static void Main () {
}
ErrorCS0053 error;
}
+
+------- Additional Comments From martin@ximian.com 2002-12-18 13:23 -------
+
+// cs0054.cs: Inconsistent accessibility. Indexer return type is less
+accessible than indexer.
+// Line:
+
+using System;
+
+class ErrorCS0054 {
+}
+
+class Foo {
+ ErrorCS0054[] errors;
+
+ public ErrorCS0054 this[int i] {
+ get { return new ErrorCS0054 (); }
+ }
+
+ public static void Main () {
+ }
+}
+
+
+
+
+
+