quote only work on lambda on net_4_0
[mcs.git] / errors / gcs0136-3.cs
blob21ee277789b95d4e825cf9982543acdaa008eff9
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
4 using System;
6 class T
8 public void Foo (int i)
10 Action<int> v = x => { int i = 9; };