In class/Microsoft.Build.Tasks:
[mcs.git] / tests / gtest-422.cs
blob0fdcfd13053300ac1c1761bbd0c94c072b136fcd
1 class A
3 public static bool operator > (A a, object b)
5 return false;
8 public static bool operator < (A a, object b)
10 return true;
14 class C
16 public static int Main ()
18 return new C ().Test () ? 1 : 0;
21 int? Id {
22 get { return 1; }
25 bool Test ()
27 A a = new A ();
28 bool b = a > Id && a < Id;
29 return b;