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

cs0557-2.cs « errors « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 151602b11e458ca24c1cbd8e6273d55aff0cbb30 (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
// cs0111.cs: Duplicated method definition for the operator
// 
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 ()
	{
	}
}