One line typo bug which passed unoticed on previous commit.
[mono.git] / mcs / errors / cs0050.cs
index de4fce66a53957804fe7559c971128aa0b8f0372..a97ed819ad14e11590047df0f2cc8ce4039b984d 100644 (file)
@@ -1,10 +1,16 @@
-// cs0050.cs: Inconsistent accessibility. Return type less accessible than method.
-// Line: 7
+// CS0050: Inconsistent accessibility: return type `X' is less accessible than method `Foo.Bar()'
+// Line: 13
 
 using System;
 
-class Foo {
-       public static Foo Bar () {
+class X {
+       public X ()
+       {
+       }
+}
+
+public class Foo {
+       public static X Bar () {
                return new Foo ();
        }