1 // Compiler options: -r:test-anon-94-lib.dll
10 public virtual void Print () { Console.WriteLine ("BaseClass.Print"); i = 90; }
11 public virtual void TestOut (out int arg
) { arg = 4; }
14 public class Derived
: BaseClass
16 public override void Print ()
18 Action a
= () => base.Print ();
22 public override void TestOut (out int arg
)
27 Console
.WriteLine (p
);
35 public class DerivedLibrary
: BaseClassLibrary
37 public override void Print (int arg
)
39 Action a
= () => base.Print (30);
44 public static int Main ()
46 var d
= new Derived ();
57 var d2
= new DerivedLibrary ();