* man/mono-shlib-cop.1: Add man page for mono-shlib-cop program.
[mono.git] / mcs / tests / gen-121.cs
1 public class B<T>
2 {
3         public int Add (T obj)
4         {
5                 return -1;
6         }
7
8         public void AddRange (object o)
9         {
10                 T obj = (T) o;
11                 Add (obj);
12         }
13 }
14
15 public interface IA
16 {
17 }
18
19 public class A : IA
20 {
21 }
22
23 public class Test
24 {
25         public static void Main ()
26         {
27                 B<IA> aux = new B<IA> ();
28                 aux.AddRange (new A ());
29         }               
30 }