Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gtest-596.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6a2465b3ff446752778f988ee0b567642faf19fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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;
	}
}