public delegate void TestDelegate(int test); public class Test{ private int test; private void method(int aaa) { TestDelegate del = test => aaa++; test++; } public static void Main() { }}
Standard input is empty
prog.cs(11,3): error CS0135: `test' conflicts with a declaration in a child block prog.cs(9,22): (Location of the symbol related to previous error) Compilation failed: 1 error(s), 0 warnings
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!