Merge pull request #5675 from mono/glib-debug-symbols
[mono.git] / mcs / errors / cs0136-3.cs
1 // CS0136: A local variable named `i' cannot be declared in this scope because it would give a different meaning to `i', which is already used in a `parent or current' scope to denote something else
2 // Line: 10
3
4 using System;
5
6 class T
7 {
8         public void Foo (int i)
9         {
10                 Action<int> v = x => { int i = 9; };
11         }
12 }