[Wasm] Fix memory override in mono_wasm_add_assembly
[mono-project.git] / mcs / tests / dtest-042.cs
blobc78f9cfcfc1241c4d5c33c5c698ca82876fe7718
1 class A
3 protected virtual object Prop { get { return null; } set { } }
6 class B : A
8 public void Foo ()
12 protected override dynamic Prop { get { return new B (); } }
15 class Program : B
17 void Test ()
19 base.Prop.Foo ();
22 public static void Main ()
24 new Program ().Test ();