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

27 lines
342 B
C#

using System;
class X
{
public Artist Artist { get; set; }
public static void Main ()
{
Test<string, Artist> (Artist.FromToken);
}
static void Test<T1, T2> (Func<T1, T2> arg)
{
}
static void Test<T1, T2> (Func<T1, int, T2> arg)
{
}
}
public class Artist
{
public static Artist FromToken (string token)
{
return null;
}
}