Warnings cleanup
[mcs.git] / tests / gtest-121.cs
blob4357196690e591a1d8370fe0a01642ed39171eb7
1 public class B<T>
3 public int Add (T obj)
5 return -1;
8 public void AddRange (object o)
10 T obj = (T) o;
11 Add (obj);
15 public interface IA
19 public class A : IA
23 public class Test
25 public static void Main ()
27 B<IA> aux = new B<IA> ();
28 aux.AddRange (new A ());