-
Notifications
You must be signed in to change notification settings - Fork 6k
Create new consolidated error page for compiler diagnostics related to operator overloading #49281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Run through all identified related errors and add them into the new file.
Search the roslyn source and the "no specifics" source file to find any related missing errors and warnings.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR consolidates compiler diagnostics related to operator overloading into a single comprehensive error page, addressing issue #46452 and supporting curation goals. The consolidation moves 27 individual error/warning pages from the misc
folder into a new organized article that groups related diagnostics by theme.
Key Changes:
- Created a new consolidated error page (
overloaded-operator-errors.md
) with thematic sections for operator-related diagnostics - Added documentation for previously undocumented errors (CS9023-CS9025, CS9308-CS9313, CS8930-CS8931)
- Removed 27 individual error pages and established redirects to the consolidated page
Reviewed Changes
Copilot reviewed 31 out of 31 changed files in this pull request and generated no comments.
Show a summary per file
File | Description |
---|---|
overloaded-operator-errors.md |
New consolidated error page with 39 operator-related diagnostics organized into 8 thematic sections |
toc.yml |
Added new consolidated page entry and removed 27 individual error entries |
.openpublishing.redirection.csharp.json |
Added 29 redirects from deleted individual pages to new consolidated page |
sorry-we-don-t-have-specifics-on-this-csharp-error.md |
Removed now-documented error codes (CS9023-CS9025, CS9308-CS9313) |
Various cs*.md files |
Deleted 27 individual error pages now consolidated |
error-consolidation.md |
Updated workflow documentation for future consolidation efforts |
Comments suppressed due to low confidence (1)
docs/csharp/language-reference/compiler-messages/overloaded-operator-errors.md:1
- Missing the
CS1554
error code in the front matter. Line 30 shows CS1554 in the title metadata but it's not included in thef1_keywords
list (lines 4-39) or thehelpviewer_keywords
list (lines 40-75). This error code should be added to both lists to maintain consistency and ensure proper indexing.
---
Co-authored-by: David Pine <[email protected]>
Fixes #46452
Contributes to curation goal.
Add errors and warnings generated for new compound assignment operators.
Look for any additional undocumented errors and warnings related to overloaded operators. Those related to checked and unchecked operators were added.
Consolidate other error related to overloading operators; provide links to language reference and operator pages for additional context.
Internal previews