repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[interp] Reduce computation under calc_section mutex
[mono-project.git]
/
mcs
/
tests
/
test-anon-167.cs
blob
923ddd0d407ef5c072380fddea56772e7caddd59
1
public class
Foo
2
{
3
static void
Bar
(
System
.
Threading
.
ThreadStart ts
)
4
{
5
}
6
7
static void
Baz
(
int
yy
)
8
{
9
}
10
11
public static void
Main
()
12
{
13
Bar
(
delegate
{
14
foreach
(
string
x
in new string
[]
{ "x" }
) {
15
int
yy
;
16
switch
(
x
) {
17
case
"x"
:
yy
=
1
;
break
;
18
default
:
continue
;
19
}
20
Baz
(
yy
);
21
}
22
});
23
}
24
}