[runtime] Avoid indirection when building MonoContext on darwin
[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 // Compiler options: -langversion:experimental
4
5 using System;
6
7 partial class PC
8 {
9     Func<int, int> f = (arg) => 1;
10 }
11
12 partial class PC (int arg) 
13 {
14 }