Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs0057.cs
1 // CS0057: Inconsistent accessibility: parameter type `ErrorCS0057' is less accessible than operator `Foo.implicit operator Foo(ErrorCS0057)'
2 // Line: 11
3
4 using System;
5
6 class ErrorCS0057 {
7         public ErrorCS0057 () {}
8 }
9
10 public class Foo {
11         public static implicit operator Foo(ErrorCS0057 bar) {
12                 return new Foo ();
13         }
14
15         public static void Main () {
16         }
17 }
18