2004-08-27 Martin Baulig <martin@ximian.com>
[mono.git] / mcs / errors / cs0052.cs
index ffdae3fd3f8b39f4d6b6c452ab98b8e63c754cf7..36709a249676817d8f70dd32365f1b627c31dc96 100644 (file)
@@ -1,15 +1,9 @@
-// cs0052.cs: Accessibility levels inconsistent. Field type is less accessible than field.
-// Line: 
-
-using System;
-
-class ErrorCS0052 {
-}
-
-public class Foo {
-       public ErrorCS0052 Method () {
-               Console.WriteLine ("The compile should advice the return type of this method is less accessible than the method.");
-       }
-       public static void Main () {}
-}
-
+// cs0052.cs: Inconsistent accessibility: field type `InternalClass' is less accessible than field 'PublicClass.member'\r
+// Line: 8\r
+\r
+class InternalClass {\r
+}\r
+\r
+public class PublicClass {\r
+       public InternalClass member;\r
+}\r