2 using System
.Collections
.Generic
;
4 interface I
<T
> : I2
<T
>, IEnumerable
<T
>
10 void Foo
<U
> (IEnumerable
<U
> list
) where U
: T2
;
15 public void Foo
<U
> (IEnumerable
<U
> list
) where U
: T
19 public IEnumerator
<T
> GetEnumerator ()
24 System
.Collections
.IEnumerator System
.Collections
.IEnumerable
.GetEnumerator ()
32 public I
<K
> Value
= new Impl
<K
> ();
35 class Test
<TT
> : A
<TT
>
39 var a
= new Test
<TT
> ();
46 public static void Main ()
48 new Test
<ulong> ().Foo ();