Skip to content

Document extension declaration cause for Compiler Error CS0027 - #56544

Open
SkyDevLab wants to merge 1 commit into
dotnet:mainfrom
SkyDevLab:docs/55881-cs0027-new-cause
Open

SkyDevLab wants to merge 1 commit into
dotnet:mainfrom
SkyDevLab:docs/55881-cs0027-new-cause

Conversation

@SkyDevLab

@SkyDevLab SkyDevLab commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Documents the additional cause for Compiler Error CS0027 when an extension method parameter uses the 'this' modifier inside an extension declaration block.

Fixes #55881


Internal previews

File Preview link
docs/csharp/misc/cs0027.md Learn preview

Build report

@SkyDevLab
SkyDevLab requested a review from BillWagner as a code owner October 24, 2026 19:39
@dotnetrepoman dotnetrepoman Bot added this to the October 2026 milestone Oct 24, 2026
@dotnet-policy-service dotnet-policy-service Bot added dotnet-csharp/svc csharp-errors-warnings/subsvc community-contribution Indicates PR is created by someone from the .NET community. labels Oct 24, 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. csharp-errors-warnings/subsvc dotnet-csharp/svc

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CS0027: (undocumented) new cause

1 participant