[tuner] handle the case with multiple "preserve" attributes
[mono-project.git] / mcs / tests / test-iter-25.cs
blobd2bf163f89334c662413fe7fbd70aa8a588e25b7
1 using System;
2 using System.Collections.Generic;
4 public class D : IDisposable
6 public D (string bar)
10 public void Dispose ()
15 public class UploadAction
17 public static void RunOnThread (Action a)
19 a.Invoke ();
22 public static IEnumerable<object> TagsError ()
24 string tags;
25 tags = "";
27 RunOnThread (() => {
28 using (D u = new D (tags)) {
29 Console.WriteLine ("No Op");
31 });
33 yield break;
36 public static void Main ()
38 foreach (object bar in TagsError ()) {
39 Console.WriteLine ("No op {0}", bar);