add test to confirm behavior of Control.SetVisibleCore, and remove some redundant...
[mcs.git] / tests / gtest-085.cs
blob02987da2916188e2a10c0cb07f700d5a97099986
1 using System;
3 public interface IFoo<S>
4 { }
6 public class ArrayList<T>
8 public virtual int InsertAll (IFoo<T> foo)
10 return 0;
13 public virtual int InsertAll<U> (IFoo<U> foo)
14 where U : T
16 return 1;
19 public virtual int AddAll (IFoo<T> foo)
21 return InsertAll (foo);
25 class X
27 static int Main ()
29 ArrayList<int> list = new ArrayList<int> ();
30 return list.AddAll (null);