summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0057.cs
blob: 323e1d994c1a1dd9589a8a55aced27d494f471bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// CS0057: Inconsistent accessibility: parameter type `ErrorCS0057' is less accessible than operator `Foo.implicit operator Foo(ErrorCS0057)'
// Line: 11

using System;

class ErrorCS0057 {
	public ErrorCS0057 () {}
}

public class Foo {
	public static implicit operator Foo(ErrorCS0057 bar) {
		return new Foo ();
	}

	public static void Main () {
	}
}