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
[configure] Add new target.
[mono-project.git]
/
mcs
/
tests
/
gtest-iter-20.cs
blob
4b6b63db5b997d8aee37e8fd72447e391359e6b6
1
using
System
;
2
using
System
.
Collections
;
3
4
class
X
5
{
6
public static int
Main
()
7
{
8
foreach
(
var
i
in
GetAll
()) {
9
}
10
11
return
0
;
12
}
13
14
static
IEnumerable
GetAll
()
15
{
16
yield return
1
;
17
if
(
false
) {
18
yield return
2
;
19
}
20
}
21
}