Jo Shields 3c1f479b9d Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
2015-04-07 09:35:12 +01:00

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)
{
}