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

bugzilla-daemon@rocky.ximian.com bugzilla-daemon@rocky.ximian.com
18 Dec 2002 18:26:25 -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:26:15 2002
+++ shadow/35856.tmp.3070	Wed Dec 18 13:26:25 2002
@@ -169,6 +169,23 @@
 
 ------- Additional Comments From martin@ximian.com  2002-12-18 13:25 -------
 *** Bug 34842 has been marked as a duplicate of this bug. ***
 
 ------- Additional Comments From martin@ximian.com  2002-12-18 13:26 -------
 *** Bug 34843 has been marked as a duplicate of this bug. ***
+
+------- Additional Comments From martin@ximian.com  2002-12-18 13:26 -------
+// cs0058.cs: Incompatible accessibility. Parameter type is less
+accessible than delegate.
+// Line: 10
+
+using System;
+
+class ErrorCS0058 {
+}
+
+class Foo {
+        public delegate ErrorCS0058 Delegate ();
+
+        public static void Main () {
+        }
+}