[ilasm] Don't break arguments compatiblity
[mono-project.git] / mcs / tests / gtest-086.cs
blobd830261179ba31fdc2c81b2e350fdbe9cc08c983
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 public static void Main ()
26 { }