do not check order sequence if option /order was not used
[mono.git] / mcs / tests / gtest-372.cs
1 public class TestClass<T> where T : class
2 {
3         public bool Check (T x, T y) { return x == y; }
4 }
5
6 public class C
7 {
8 }
9
10 public class TestClass2<T> where T : C
11 {
12         public bool Check (T x, T y) { return x == y; }
13 }
14
15 public class X
16 {
17         static int Main ()
18         {
19                 new TestClass<object> ().Check (null, null);
20                 new TestClass2<C> ().Check (null, null);
21                 return 0;
22         }
23 }
24
25