In class/Microsoft.Build.Tasks:
[mcs.git] / tests / test-629.cs
blob81133012a7542cd749bb576e7939e52bb7688f24
1 using System.Collections;
2 class Foo {
3 static public IEnumerable foo ()
5 try { yield break; } catch { } finally { }
7 static int Main ()
9 int i = 0;
10 foreach (object o in foo ())
11 ++i;
12 return i;