Skip to content

Add C# 8 parameter shadowing history item#54372

Open
FestimReqi wants to merge 1 commit into
dotnet:mainfrom
FestimReqi:docs/csharp-8-parameter-shadowing
Open

Add C# 8 parameter shadowing history item#54372
FestimReqi wants to merge 1 commit into
dotnet:mainfrom
FestimReqi:docs/csharp-8-parameter-shadowing

Conversation

@FestimReqi

@FestimReqi FestimReqi commented Jun 13, 2026

Copy link
Copy Markdown

Fixes #52972

Adds the missing C# 8 history item for lambda expressions, anonymous methods, and local functions allowing parameters to shadow local variables and parameters from an enclosing scope.


Internal previews

📄 File 🔗 Preview link
docs/csharp/whats-new/csharp-version-history.md The history of C#

@FestimReqi FestimReqi requested review from a team and BillWagner as code owners June 13, 2026 11:27
@dotnetrepoman dotnetrepoman Bot added this to the June 2026 milestone Jun 13, 2026
@dotnet-policy-service dotnet-policy-service Bot added the community-contribution Indicates PR is created by someone from the .NET community. label Jun 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community-contribution Indicates PR is created by someone from the .NET community.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

C# 8 enhancement: lambda and local function parameters can shadow locals and parameters

1 participant