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

25 lines
305 B
C#
Raw Normal View History

// Compiler options: -t:library
public class A
{
public override int GetHashCode ()
{
return 1;
}
public override bool Equals (object o)
{
return true;
}
public static bool operator == (A u1, A u2)
{
return true;
}
public static bool operator != (A u1, A u2)
{
return false;
}
}