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
[mono/tests] Fix out of tree build.
[mono-project.git]
/
mcs
/
tests
/
test-iter-26.cs
blob
6da69d394e3ec8a56f57396d036a32e5d53c7839
1
using
System
;
2
using
System
.
Collections
;
3
4
class
C
5
{
6
public static
IEnumerable
Test
(
bool
b
,
int value
)
7
{
8
if
(
b
) {
9
Console
.
WriteLine
(
value
);
10
}
11
12
yield return
1
;
13
}
14
15
public static void
Main
()
16
{
17
Test
(
true
,
5
);
18
}
19
}