3c1f479b9d
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
14 lines
353 B
C#
14 lines
353 B
C#
// 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
|
|
// Line: 11
|
|
// Compiler options: -langversion:experimental
|
|
|
|
using System;
|
|
|
|
class A (Func<int, int> barg)
|
|
{
|
|
}
|
|
|
|
class B (int arg)
|
|
: A ((arg) => 1)
|
|
{
|
|
} |