summaryrefslogtreecommitdiff
path: root/mcs/errors/cs0557-2.cs
blob: 5f17896e9f16b2be17d98eb8e3cbc5ade142b2ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// CS0557: Duplicate user-defined conversion in type `C'
// Line: 9
class C {
		public static bool operator != (C a, C b) 
		{
			return true;
		}
		
		public static bool operator != (C a, C b) 
		{
			return true;
		}
	
		public static bool operator == (C a, C b)
		{	return false; }		
	}





class X {
	static void Main ()
	{
	}
}