3c1f479b9d
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
14 lines
366 B
C#
14 lines
366 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;
|
|
|
|
partial class PC
|
|
{
|
|
Func<int, int> f = (arg) => 1;
|
|
}
|
|
|
|
partial class PC (int arg)
|
|
{
|
|
} |