7 void IDisposable.Dispose ()
12 public void Dispose ()
14 throw new ApplicationException ();
21 void IDisposable.Dispose ()
25 public void Dispose ()
27 throw new ApplicationException ();
33 public static int Main ()
36 using (var a = nullable) {
42 using (var s = new S ()) {
51 using (S? a = nullable, b = nullable) {
57 Console.WriteLine ("ok");
61 static void GenMethod<T> (T t) where T : IDisposable