[Mono-bugs] [Bug 35856][Min] Changed - Missing `Inconsistent accessibility' warning
bugzilla-daemon@rocky.ximian.com
bugzilla-daemon@rocky.ximian.com
18 Dec 2002 18:25:30 -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:24:58 2002
+++ shadow/35856.tmp.1933 Wed Dec 18 13:25:30 2002
@@ -141,6 +141,28 @@
}
------- Additional Comments From martin@ximian.com 2002-12-18 13:24 -------
*** Bug 34841 has been marked as a duplicate of this bug. ***
+
+------- Additional Comments From martin@ximian.com 2002-12-18 13:25 -------
+
+// cs0057.cs: Inconsisten accessibility. Parameter type is less
+accessible than operator.
+// Line: 10
+
+using System;
+
+class ErrorCS0057 {
+}
+
+class Foo {
+ public static implicit operator ErrorCS0057(Foo bar) {
+ return new ErrorCS0057 ();
+ }
+
+ public static void Main () {
+ }
+}
+
+