[interp] Reduce computation under calc_section mutex
[mono-project.git] / mcs / tests / gtest-variance-21.cs
blob2b7f806e4d242faf6c39c5e9aeeafd00bda4a372
1 interface I<out T1, out T2, out T3>
5 class C
7 public static bool M<T> ()
9 I<T, string, bool> a = null;
10 I<T, object, bool> b = a;
11 return a == b;
14 public static int Main ()
16 I<object, string, dynamic[]> a = null;
17 I<object, object, object[]> b = a;
19 I<dynamic, string, long> a2 = null;
20 I<object, object, long> b2 = a2;
22 M<uint> ();
23 return 0;