(RegisterObject): Throw ArgumentOutOfRangeException if the objectID
[mono.git] / mcs / tests / conv-lib.cs
1 public class A
2 {
3         public static bool operator==(A a1, A a2)
4         {
5                 return true;
6         }
7
8         public static bool operator!=(A a1, A a2)
9         {
10                 return false;
11         }
12
13         public override bool Equals (object o)
14         {
15                 return true;
16         }
17
18         public override int GetHashCode ()
19         {
20                 return base.GetHashCode ();
21         }
22
23         public int KK () { return 1; }
24 }
25
26 public class B : A {
27 }
28