2004-09-09 Martin Baulig <martin@ximian.com>
[mono.git] / mcs / errors / cs0050.cs
index de4fce66a53957804fe7559c971128aa0b8f0372..b77b72407d7edd5ff6928a733f3483e5f5fbd34c 100644 (file)
@@ -1,10 +1,16 @@
 // cs0050.cs: Inconsistent accessibility. Return type less accessible than method.
-// Line: 7
+// Line: 13
 
 using System;
 
-class Foo {
-       public static Foo Bar () {
+class X {
+       public X ()
+       {
+       }
+}
+
+public class Foo {
+       public static X Bar () {
                return new Foo ();
        }