Merged
Conversation
Fixes dotnet#49602 Add the final 2 message for static abstract interfaces. In addition, do a general edit pass for that file. Remove two duplicates in two different files. The additional errors that were removed from the "sorry" file aren't generated by roslyn anymore. Most were from `!!`, which was removed while in preview. Others have been subsumed by newer, better error messages.
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request adds documentation for two final C# 11 compiler errors (CS9044 and CS9046) related to static abstract interface members. It also performs maintenance by removing duplicate error code references and cleaning up obsolete entries.
Changes:
- Adds comprehensive documentation for CS9044 (inaccessible member implementation) and CS9046 (equality operator parameter constraints) in the static abstract interfaces guide
- Removes CS8930 and CS8931 from overloaded-operator-errors.md and converts them to cross-references pointing to static-abstract-interfaces.md
- Removes obsolete error codes (CS8984, CS8989, CS9064) from the "sorry" file that are either documented elsewhere or no longer generated by Roslyn
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| sorry-we-don-t-have-specifics-on-this-csharp-error.md | Removes obsolete C# 11 error codes from the undocumented errors list |
| toc.yml | Updates error code listings in table of contents - removes duplicates from operator errors and adds new codes to static abstract interfaces |
| static-abstract-interfaces.md | Adds CS9044 and CS9046 documentation with detailed explanations and updates date metadata |
| overloaded-operator-errors.md | Replaces duplicate CS8930/CS8931 entries with cross-references to static-abstract-interfaces.md |
docs/csharp/language-reference/compiler-messages/static-abstract-interfaces.md
Outdated
Show resolved
Hide resolved
docs/csharp/language-reference/compiler-messages/static-abstract-interfaces.md
Outdated
Show resolved
Hide resolved
gewarren
approved these changes
Feb 6, 2026
docs/csharp/language-reference/compiler-messages/static-abstract-interfaces.md
Outdated
Show resolved
Hide resolved
docs/csharp/language-reference/compiler-messages/static-abstract-interfaces.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #49602
Add the final 2 message for static abstract interfaces. In addition, do a general edit pass for that file. Remove two duplicates in two different files.
The additional errors that were removed from the "sorry" file aren't generated by roslyn anymore. Most were from
!!, which was removed while in preview. Others have been subsumed by newer, better error messages.Internal previews