projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge pull request #495 from nicolas-raoul/fix-for-issue2907-with-no-formatting-changes
[mono.git]
/
mcs
/
tests
/
test-iter-16.cs
1
using System.Collections;
2
class Foo {
3
static public IEnumerable foo ()
4
{
5
try { yield break; } catch { } finally { }
6
}
7
public static int Main ()
8
{
9
int i = 0;
10
foreach (object o in foo ())
11
++i;
12
return i;
13
}
14
}