a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
25 lines
324 B
C#
25 lines
324 B
C#
public class Foo
|
|
{
|
|
static void Bar (System.Threading.ThreadStart ts)
|
|
{
|
|
}
|
|
|
|
static void Baz (int yy)
|
|
{
|
|
}
|
|
|
|
public static void Main ()
|
|
{
|
|
Bar (delegate {
|
|
foreach (string x in new string[] { "x" }) {
|
|
int yy;
|
|
switch (x) {
|
|
case "x": yy = 1; break;
|
|
default: continue;
|
|
}
|
|
Baz (yy);
|
|
}
|
|
});
|
|
}
|
|
}
|