dlr bug
[mcs.git] / tests / gtest-086.cs
blob34f094223d4084700a1b63e0a50e2f5bfdff80a5
1 public interface IFoo<S>
2 { }
4 public class ArrayList<T>
6 public virtual int InsertAll (IFoo<T> foo)
8 return 0;
11 public virtual int InsertAll<U> (IFoo<U> foo)
12 where U : T
14 return 1;
17 public virtual int AddAll (IFoo<T> foo)
19 return InsertAll (foo);
23 class X
25 static void Main ()
26 { }