Updated with review feedback.
[mono.git] / mcs / errors / cs0056.cs
1 // CS0056: Inconsistent accessibility: return type `ErrorCS0056' is less accessible than operator `Foo.implicit operator ErrorCS0056(Foo)'
2 // Line: 11
3
4 using System;
5
6 class ErrorCS0056 {
7         public ErrorCS0056 () {}
8 }
9
10 public class Foo {
11         public static implicit operator ErrorCS0056(Foo foo) {
12                 return new ErrorCS0056 ();
13         }
14         public static void Main () {
15         }
16 }