eol
[mcs.git] / tests / test-307.cs
blob8958075a4da8f28a1dffebebd78fb3caaeea2ae8
1 using System;
3 using C = A.D;
5 public class A
7 public class D : IDisposable
9 void IDisposable.Dispose () { throw new Exception ("'using' and 'new' didn't resolve C as A+B+C"); }
12 public class B
14 class C : IDisposable
16 void IDisposable.Dispose () { }
19 public B () {
20 using (C c = new C ()) {
25 public static void Main()
27 object o = new A.B();