-// 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