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-18.cs
blob
540786bba53d45ee932c93772da75dd437560120
1
using
System
;
2
3
delegate void
A
();
4
5
class
DelegateTest
{
6
public static void
Main
(
string
[]
argv
)
7
{
8
Console
.
WriteLine
(
"Test"
);
9
10
foreach
(
string
arg
in
argv
) {
11
Console
.
WriteLine
(
"OUT:
{0}
"
,
arg
);
12
A a
=
delegate
{
13
Console
.
WriteLine
(
"arg:
{0}
"
,
arg
);
14
};
15
a
();
16
}
17
}
18
}
19