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-92.cs
blob
9489c33523a981ad48c6f9cb95df9aa10bb4f30c
1
using
System
;
2
using
System
.
Collections
;
3
4
delegate void
D
();
5
6
class
MainClass
7
{
8
static void
Test
(
IEnumerable a
)
9
{
10
D d
=
delegate
() {
11
foreach
(
object
o
in
a
) {
12
if
(
o
==
null
)
13
return
;
14
}
15
};
16
17
d
();
18
}
19
20
public static int
Main
()
21
{
22
Test
(
new string
[]
{ "l", null}
);
23
return
0
;
24
}
25
}