Merge pull request #1404 from woodsb02/mono-route
[mono.git] / mcs / errors / cs0136-18.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 class A (Func<int, int> barg)
8 {
9 }
10
11 class B (int arg) 
12         : A ((arg) => 1)
13 {
14 }