a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
19 lines
159 B
C#
19 lines
159 B
C#
class G<T>
|
|
{
|
|
}
|
|
|
|
interface I
|
|
{
|
|
void Foo<T> () where T : G<T>;
|
|
}
|
|
|
|
class A : I
|
|
{
|
|
public void Foo<U> () where U : G<U>
|
|
{
|
|
}
|
|
|
|
public static void Main ()
|
|
{
|
|
}
|
|
} |