summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0056.cs
blob: 3fa4297af9ec5d28bbfc7365c5305872144ffacb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// CS0056: 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 () {
	}
}