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

cs0056.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f7cfec5383ba2dddbe10c5d19937f142881ba3ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// cs0056.cs: Inconsistent accessibility: return type `ErrorCS0056' is less accessible than operator `Foo.implicit operator ErrorCS0056(Foo)'
// Line: 11

using System;

class ErrorCS0056 {
	public ErrorCS0056 () {}
}

public class Foo {
	public static implicit operator ErrorCS0056(Foo foo) {
		return new ErrorCS0056 ();
	}
	public static void Main () {
	}
}