fixed project file names, removed svn hiding
[mono.git] / mcs / errors / cs0057.cs
index 5fdd86ceab5307e688ed4c941815c4374dc53bfa..67e3a33cd562be39866f1b0d643a02a2799b9671 100644 (file)
@@ -1,14 +1,15 @@
-// cs0057.cs: Inconsisten accessibility. Parameter type is less accessible than operator.
-// Line: 10
+// cs0057.cs: Inconsistent accessibility: parameter type `ErrorCS0057' is less accessible than operator `Foo.implicit operator Foo(ErrorCS0057)'
+// Line: 11
 
 using System;
 
 class ErrorCS0057 {
+       public ErrorCS0057 () {}
 }
 
-class Foo {
-       public static implicit operator ErrorCS0057(Foo bar) {
-               return new ErrorCS0057 ();
+public class Foo {
+       public static implicit operator Foo(ErrorCS0057 bar) {
+               return new Foo ();
        }
 
        public static void Main () {