a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
15 lines
222 B
C#
15 lines
222 B
C#
using System.Collections;
|
|
class Foo {
|
|
static public IEnumerable foo ()
|
|
{
|
|
try { yield break; } catch { } finally { }
|
|
}
|
|
public static int Main ()
|
|
{
|
|
int i = 0;
|
|
foreach (object o in foo ())
|
|
++i;
|
|
return i;
|
|
}
|
|
}
|