Merge branch 'patch-1' of https://github.com/ReubenBond/mono into ReubenBond-patch-1
[mono.git] / mcs / errors / cs0136-19.cs
1 // CS0136: A local variable named `arg' cannot be declared in this scope because it would give a different meaning to `arg', which is already used in a `parent or current' scope to denote something else
2 // Line: 11
3
4 using System;
5
6 partial class PC
7 {
8     Func<int, int> f = (arg) => 1;
9 }
10
11 partial class PC (int arg) 
12 {
13 }