[Wasm] Fix memory override in mono_wasm_add_assembly
[mono-project.git] / mcs / tests / test-303.cs
blobdbd61b5e46d1bb061d1c429ebb64ff711cbb992b
1 using System;
3 class A
5 class C : IDisposable
7 void IDisposable.Dispose () { throw new Exception ("'using' and 'new' didn't resolve C as A+B+C"); }
10 public class B
12 class C : IDisposable
14 void IDisposable.Dispose () { }
17 public B () {
18 using (C c = new C ()) {
23 public static void Main()
25 object o = new A.B();