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
In class/Microsoft.Build.Tasks:
[mcs.git]
/
tests
/
test-629.cs
blob
81133012a7542cd749bb576e7939e52bb7688f24
1
using
System
.
Collections
;
2
class
Foo
{
3
static public
IEnumerable
foo
()
4
{
5
try
{ yield break; }
catch
{ }
finally
{ }
6
}
7
static int
Main
()
8
{
9
int
i
=
0
;
10
foreach
(
object
o
in
foo
())
11
++
i
;
12
return
i
;
13
}
14
}