a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
19 lines
191 B
C#
19 lines
191 B
C#
public class Moo<C>
|
|
where C : Moo<C>.Foo
|
|
{
|
|
public class Foo
|
|
{ }
|
|
}
|
|
|
|
public class Test : Moo<Test>.Foo
|
|
{
|
|
}
|
|
|
|
class X
|
|
{
|
|
public static void Main ()
|
|
{
|
|
Moo<Test> moo = new Moo<Test> ();
|
|
}
|
|
}
|