2005-01-31 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mcs / errors / cs0111-8.cs
1 // cs0111.cs: Duplicated method definition for the operator
2 // 
3 class C {
4                 public static bool operator != (C a, C b) 
5                 {
6                         return true;
7                 }
8                 
9                 public static bool operator != (C a, C b) 
10                 {
11                         return true;
12                 }
13         
14                 public static bool operator == (C a, C b)
15                 {       return false; }         
16         }
17
18
19
20
21
22 class X {
23         static void Main ()
24         {
25         }
26 }