2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git] / errors / cs0057.cs
blob67e3a33cd562be39866f1b0d643a02a2799b9671
1 // cs0057.cs: Inconsistent accessibility: parameter type `ErrorCS0057' is less accessible than operator `Foo.implicit operator Foo(ErrorCS0057)'
2 // Line: 11
4 using System;
6 class ErrorCS0057 {
7 public ErrorCS0057 () {}
10 public class Foo {
11 public static implicit operator Foo(ErrorCS0057 bar) {
12 return new Foo ();
15 public static void Main () {