blob: d5aa66a710ba046e3d6baaff2e025bd61e6e4d8a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
class A<X>
{
public virtual void Foo<T> () where T : A<T>
{
}
}
class B : A<int>
{
public override void Foo<T> ()
{
}
}
class C
{
public static int Main ()
{
new B ();
return 0;
}
}
|