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

gtest-353.cs « tests « mcs - github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c36c8d58e9c20bc88a0dd4982f90531e048b6407 (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 A<D1, D2, D3>
{
	public virtual void Foo<T> () where T : D2
	{
	}
}

class B<DD2> : A<int, DD2, short>
{
}

class C : B<string>
{
	public override void Foo<T> ()
	{
	}
}

public class Program
{
	public static void Main ()
	{
		new C ().Foo<string> ();
	}
}