Skip to content

Fix accessibility description for derived interfaces - #55464

Merged
BillWagner merged 2 commits into
dotnet:mainfrom
iceland3:main
Aug 18, 2026
Merged

Fix accessibility description for derived interfaces#55464
BillWagner merged 2 commits into
dotnet:mainfrom
iceland3:main

Conversation

@iceland3

@iceland3 iceland3 commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Corrected the explanation regarding interface accessibility in derived interfaces.

The original text says "cannot be narrowed," but the correct rule is "cannot be widened," as demonstrated by the code example. This change aligns the description with the actual compiler behavior.


Internal previews

File Preview link
docs/csharp/misc/cs0061.md Preview published page

Corrected the explanation regarding interface accessibility in derived interfaces.
Fix accessibility description for derived interfaces
@iceland3
iceland3 requested review from a team and BillWagner as code owners August 18, 2026 05:57
@dotnetrepoman dotnetrepoman Bot added this to the August 2026 milestone Aug 18, 2026
@dotnet-policy-service dotnet-policy-service Bot added the community-contribution Indicates PR is created by someone from the .NET community. label Aug 18, 2026

@BillWagner BillWagner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @iceland3

This LGTM, and I'll :shipit: now.

@BillWagner
BillWagner enabled auto-merge (squash) August 18, 2026 14:59
@BillWagner
BillWagner merged commit 4e1ec73 into dotnet:main Aug 18, 2026
11 checks passed
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.

2 participants