* TaskLoggingHelper.cs (LogErrorFromException): Add missing overload.
[mcs.git] / tests / gtest-variance-13.cs
blob9aaf3757378e9673d42b9c950435b6e3b5142e50
1 // Compiler options: -langversion:future
3 using System;
4 using System.Collections.Generic;
6 interface I<in T>
10 class A
12 static void Foo<T> (T a, IList<T> c)
16 public static void Test ()
18 Foo ("aaaa", new object[0]);
22 class B
24 static void Foo<T> (T a, I<T> c)
28 static void Test<U> (U u, I<U> x)
30 Foo (u, x);
34 class M
36 public static int Main ()
38 return 0;