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

28 lines
278 B
C#

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> ();
}
}