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
/
gtest-iter-29.cs
blob
9276d02ade71414d63aeae92e22d4c1c2562c07e
1
using
System
;
2
using
System
.
Linq
;
3
using
System
.
Collections
.
Generic
;
4
5
public class
Test
6
{
7
public static int
Main
()
8
{
9
var
x
=
Test2
();
10
if
(
x
.
Count
() !=
0
)
11
return
1
;
12
13
Console
.
WriteLine
(
"ok"
);
14
return
0
;
15
}
16
17
public static
IEnumerable
<
int
>
Test2
()
18
{
19
while
(
false
)
20
yield return
5
;
21
}
22
}