-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Add errors for existing C# 14 themes #49669
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
Add all newly created diagnostics that map to existing consolidated error files.
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 documents several new C# compiler error codes (CS9327, CS9328, CS9332, CS9336, CS9339, CS9340, CS9341, CS9342) by moving them from the generic error page to their appropriate topical documentation pages.
- Moved CS9327 and CS9328 to the feature-version-errors documentation.
- Moved CS9332 to the array-declaration-errors documentation.
- Moved CS9336 to the pattern-matching-warnings documentation.
- Moved CS9339 to the extension-declarations documentation.
- Moved CS9340, CS9341, and CS9342 to the overloaded-operator-errors documentation.
Reviewed Changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| docs/csharp/misc/sorry-we-don-t-have-specifics-on-this-csharp-error.md | Removed error codes that now have specific documentation |
| docs/csharp/language-reference/toc.yml | Added error codes to displayName lists for appropriate topics |
| docs/csharp/language-reference/compiler-messages/pattern-matching-warnings.md | Added CS9336 to f1_keywords and helpviewer_keywords, combined with CS9335 in error list |
| docs/csharp/language-reference/compiler-messages/overloaded-operator-errors.md | Added CS9340, CS9341, CS9342 to frontmatter and error list |
| docs/csharp/language-reference/compiler-messages/feature-version-errors.md | Added CS9327 and CS9328 to frontmatter and error list |
| docs/csharp/language-reference/compiler-messages/extension-declarations.md | Added CS9339 to frontmatter and error list |
| docs/csharp/language-reference/compiler-messages/array-declaration-errors.md | Added CS9332 to frontmatter and error list |
docs/csharp/language-reference/compiler-messages/feature-version-errors.md
Show resolved
Hide resolved
docs/csharp/language-reference/compiler-messages/array-declaration-errors.md
Outdated
Show resolved
Hide resolved
…tion-errors.md Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
After adding the final C# 14 updates, perform an edit pass to match the current format.
Add final errors introduced in C# 14 for extensions. Perform an edit pass to match the improved format.
After adding the final diagnostics for C# 14, update this file to match the more recent style.
docs/csharp/language-reference/compiler-messages/pattern-matching-warnings.md
Outdated
Show resolved
Hide resolved
docs/csharp/language-reference/compiler-messages/array-declaration-errors.md
Outdated
Show resolved
Hide resolved
docs/csharp/language-reference/compiler-messages/array-declaration-errors.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
Add all newly created diagnostics that map to existing consolidated error files.
Contributes to #49292
Internal previews