a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
17 lines
291 B
C#
17 lines
291 B
C#
// CS0305: Using the generic method `C.Test<T,Y>(C.Func<T>)' requires `2' type argument(s)
|
|
// Line: 14
|
|
|
|
public class C
|
|
{
|
|
public delegate int Func<T> (T t);
|
|
|
|
public static void Test<T, Y> (Func<T> f)
|
|
{
|
|
}
|
|
|
|
public static void Main ()
|
|
{
|
|
Test<int> (delegate (int i) { return i; });
|
|
}
|
|
}
|