[LoongArch64] Part-5:add loongarch support in some files for LoongArch64. (#21769)
[mono-project.git] / mcs / tests / test-anon-178.cs
blob278bdbe58b619f20f1dc946e2f3333fb0ae9640e
1 using System;
3 public abstract class BaseClass<T>
7 public class DerivedClass : BaseClass<int>
11 public abstract class CA
13 [Obsolete]
14 public virtual void Foo<T, U> (U args) where T : BaseClass<U>, new()
19 public class CB : CA
21 public CB ()
23 int x = 4;
24 Action<int> pp = r => base.Foo<DerivedClass, int> (x);
27 public static void Main ()
29 new CB ();