summaryrefslogtreecommitdiff
path: root/mcs/tests/gtest-632.cs
blob: 59cbafb790832aec82428af68d0780ffa62dab71 (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 class TInterface
{
}

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