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

gtest-631.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 32939c958a23f57f88b42043f4bbe86d1a19a0d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
public class BaseClass<TSource>
{
	public void DoStuff<TInput> (TInput stuff) where TInput: TSource 
	{
	}
}

public class MyClass: BaseClass<TInterface>, MyInterface
{
	public static void Main ()
	{
	}
}

public interface TInterface
{
}

public interface MyInterface 
{
	void DoStuff<TInput> (TInput stuff) where TInput: TInterface;
}