blob: d2bf163f89334c662413fe7fbd70aa8a588e25b7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
using System;
using System.Collections.Generic;
public class D : IDisposable
{
public D (string bar)
{
}
public void Dispose ()
{
}
}
public class UploadAction
{
public static void RunOnThread (Action a)
{
a.Invoke ();
}
public static IEnumerable<object> TagsError ()
{
string tags;
tags = "";
RunOnThread (() => {
using (D u = new D (tags)) {
Console.WriteLine ("No Op");
}
});
yield break;
}
public static void Main ()
{
foreach (object bar in TagsError ()) {
Console.WriteLine ("No op {0}", bar);
}
}
}
|