Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cs0057.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 67e3a33cd562be39866f1b0d643a02a2799b9671 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// 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 () {}
}

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

	public static void Main () {
	}
}