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

cs0557-3.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1e686a8ee37f5e0ab81fbe01243e4bf2854acb25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// cs0557.cs: Duplicate user-defined conversion in type `Foo'
// Line: 5

public enum Bar
{
	ABar
}


public class Foo
{
	public static explicit operator Foo(Bar the_bar)
	{
		return new Foo();
	}
	public static implicit operator Foo(Bar the_bar)
	{
		return new Foo();
	}
}