[tuner] handle the case with multiple "preserve" attributes
[mono-project.git] / mcs / tests / gtest-359.cs
blobc927dc465b979917e5057b1df84286735d8fb1ef
1 class BaseGeneric<T>
3 public class InnerDerived
5 public InnerDerived (T t)
10 public class GenericInnerDerived<U>
12 public GenericInnerDerived (T t, U u)
18 class BaseConcrete : BaseGeneric<string>
22 class Concrete_A : BaseGeneric<int>
26 class Concrete_B : BaseConcrete
28 InnerDerived foo1;
31 class BaseGeneric_2<T, U>
33 public class InnerDerived
35 public InnerDerived (T t, U u)
41 class BaseGeneric_1<T> : BaseGeneric_2<T, string>
45 class Concrete_2 : BaseGeneric_1<bool>
50 class Program
52 public static void Main ()
54 new Concrete_B.InnerDerived ("abc");
55 new Concrete_A.InnerDerived (11);
56 new Concrete_A.GenericInnerDerived<int> (1, 2);
57 new Concrete_2.InnerDerived (false, "bb");