7 abstract class B
<T1
, T2
>
9 public abstract void Foo
<U
> (U x
) where U
: T1
, T2
;
12 class C
: B
<S
<object>, S
<dynamic>>
14 public override void Foo
<U
> (U x
)
18 public static int Main ()
20 var m
= typeof (C
).GetMethod ("Foo");
21 var ta
= m
.GetGenericArguments ()[0].GetGenericParameterConstraints ();
25 Console
.WriteLine ("ok");