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
Take stars out of types where they make more sense.
[mono-project.git]
/
mcs
/
tests
/
test-anon-04.cs
blob
7cbec62f14f6b9da0e5f2595c9fe66e6cc3c4a3c
1
//
2
// Capturing test.
3
//
4
using
System
;
5
6
delegate void
S
();
7
8
class
X
{
9
public static void
Main
()
10
{
11
int
a
=
1
;
12
S b
=
delegate
{
13
float
f
=
1
;
14
Console
.
WriteLine
(
a
);
15
if
(
f
==
2
)
16
return
;
17
};
18
b
();
19
Console
.
WriteLine
(
"Back, got "
+
a
);
20
}
21
}