repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2009-02-15 Jonathan Chambers <joncham@gmail.com>
[mcs.git]
/
tests
/
test-iter-13.cs
blob
6a16db89f52c76b0e4beb2b0f3226993621ee773
1
using
System
;
2
using
System
.
Collections
;
3
4
class
Test
5
{
6
class
Yp
7
{
8
public
IEnumerable
fail
()
9
{
10
return null
;
11
}
12
}
13
14
static
Yp YP
=
new
Yp
();
15
16
public static void
Main
()
17
{
18
19
}
20
21
public static
IEnumerable
syntax_error
(
object
_Message
,
object
_List
)
22
{
23
{
24
yield break
;
25
}
26
27
foreach
(
bool
l1
in
YP
.
fail
()) {
28
yield return false
;
29
}
30
}
31
}