Files
linux-packaging-mono/mcs/tests/gtest-519.cs

19 lines
159 B
C#
Raw Normal View History

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