a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
31 lines
375 B
C#
31 lines
375 B
C#
// Compiler options: -t:library
|
|
|
|
public class A
|
|
{
|
|
public static bool operator==(A a1, A a2)
|
|
{
|
|
return true;
|
|
}
|
|
|
|
public static bool operator!=(A a1, A a2)
|
|
{
|
|
return false;
|
|
}
|
|
|
|
public override bool Equals (object o)
|
|
{
|
|
return true;
|
|
}
|
|
|
|
public override int GetHashCode ()
|
|
{
|
|
return base.GetHashCode ();
|
|
}
|
|
|
|
public int KK () { return 1; }
|
|
}
|
|
|
|
public class B : A {
|
|
}
|
|
|