[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:00 -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:22:41 2002
+++ shadow/35856.tmp.26671	Wed Dec 18 13:23:00 2002
@@ -43,6 +43,27 @@
 
 ------- Additional Comments From martin@ximian.com  2002-12-18 13:22 -------
 *** Bug 34812 has been marked as a duplicate of this bug. ***
 
 ------- Additional Comments From martin@ximian.com  2002-12-18 13:22 -------
 *** Bug 34821 has been marked as a duplicate of this bug. ***
+
+------- Additional Comments From martin@ximian.com  2002-12-18 13:22 -------
+// cs0053.cs: Inconsistent accessibility. Property type is less
+accessible than property.
+// Line: 10
+
+using System;
+
+class ErrorCS0053 {
+}
+
+class Foo {
+        public ErrorCS0053 Property {
+                get { return new ErrorCS0053 (); }
+        }
+
+        public static void Main () {
+        }
+
+        ErrorCS0053 error;
+}