Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

24 lines
321 B
C#

using System;
public interface I<T>
{
}
public class X : I<int>
{
public static I<TR> Test<T, TR> (I<T> source, Func<I<T>, TR> selector)
{
return null;
}
public static U First<U> (I<U> source)
{
return default (U);
}
public static void Main ()
{
I<int> xs = new X ();
var left = Test (xs, First);
}
}