Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / tests / gtest-variance-13.cs
1 using System;
2 using System.Collections.Generic;
3
4 interface I<in T>
5 {
6 }
7
8 class A
9 {
10         static void Foo<T> (T a, IList<T> c)
11         {
12         }
13         
14         public static void Test ()
15         {
16                 Foo ("aaaa", new object[0]);
17         }
18 }
19
20 class B
21 {
22         static void Foo<T> (T a, I<T> c)
23         {
24         }
25
26         static void Test<U> (U u, I<U> x)
27         {
28                 Foo (u, x);
29         }
30 }
31
32 class M
33 {
34         public static int Main ()
35         {
36                 return 0;
37         }
38 }