[Wasm] Fix memory override in mono_wasm_add_assembly
[mono-project.git] / mcs / tests / test-anon-62.cs
blobf74d82259d06a8bd86db00f5319b379506e5e631
1 // Bug #79702
2 public delegate void FooHandler();
4 public class X
6 private string a;
8 public X(string a)
10 this.a = a;
13 public static void Main()
18 public class Y : X
20 private Z a;
22 public Y(Z a) : base(a.A)
24 this.a = a;
26 FooHandler handler = delegate {
27 a.Hello();
32 public class Z
34 public string A;
36 public void Hello ()