a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
29 lines
293 B
C#
29 lines
293 B
C#
using System;
|
|
|
|
public class B<T>
|
|
{
|
|
}
|
|
|
|
public class B2 : B<object>
|
|
{
|
|
}
|
|
|
|
public class C
|
|
{
|
|
public static void Test<T, I> () where T : B<I>, I
|
|
{
|
|
Foo<T, I> ();
|
|
}
|
|
|
|
public static void Foo<T, I> () where T : B<I>, I
|
|
{
|
|
}
|
|
|
|
public static int Main ()
|
|
{
|
|
Test<B2, object> ();
|
|
return 0;
|
|
}
|
|
}
|
|
|