19 lines
191 B
C#
Raw Normal View History

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