13 lines
203 B
C#
Raw Normal View History

// CS0135: `i' conflicts with a declaration in a child block
// Line: 10
delegate int F (int i);
class Foo {
static int i;
static void Main ()
{
F f = delegate (int i) { return i; };
i = 0;
}
}