[ilasm] Don't break arguments compatiblity
[mono-project.git] / mcs / tests / gtest-497.cs
blob5d879d43fbf9386f12ec4cb6149866ccfad02748
1 class Item
5 class ItemCollection<T> where T : Item
7 public void Bind<U> (ItemCollection<U> sub) where U : T
12 class a
14 public static void Main ()
16 var ic = new ItemCollection<Item> ();
17 ic.Bind (ic);