linux-packaging-mono/mcs/tests/test-396-lib.cs

31 lines
375 B
C#
Raw Normal View History

// 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 {
}