-
Couldn't load subscription status.
- Fork 6.1k
Add consolidated errors for using and await using
#49493
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
Add consolidated errors for using and await using
#49493
Conversation
Create the stub article, and add the information for CS9229.
Make more prompt edits to make future changes easier.
That's the original theme.
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 C# compiler error documentation related to using statements and using declarations into a single comprehensive article, completing the C# 12 error documentation updates.
Key changes:
- Creates a new consolidated article covering 10 error codes (CS0245, CS0728, CS1674, CS8410, CS8417, CS8418, CS8647, CS8648, CS8649, CS9229)
- Removes individual error documentation files that are now consolidated
- Updates redirections to point to the new consolidated article with section anchors
Reviewed Changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 10 comments.
Show a summary per file
| File | Description |
|---|---|
docs/csharp/misc/sorry-we-don-t-have-specifics-on-this-csharp-error.md |
Removes error codes that now have documentation in the consolidated article |
docs/csharp/misc/cs0728.md |
Deletes individual error file (consolidated into new article) |
docs/csharp/misc/cs0245.md |
Deletes individual error file (consolidated into new article) |
docs/csharp/language-reference/toc.yml |
Adds new consolidated article to TOC and removes individual error entries |
docs/csharp/language-reference/compiler-messages/using-statement-declaration-errors.md |
Creates new consolidated article covering all using statement/declaration errors |
docs/csharp/language-reference/compiler-messages/cs8410.md |
Deletes individual error file (consolidated into new article) |
docs/csharp/language-reference/compiler-messages/cs1674.md |
Deletes individual error file (consolidated into new article) |
.openpublishing.redirection.csharp.json |
Adds redirections from deleted files to corresponding sections in the consolidated article |
.github/prompts/error-consolidation.md |
Updates internal guidance to reflect changes in consolidation process |
docs/csharp/language-reference/compiler-messages/using-statement-declaration-errors.md
Outdated
Show resolved
Hide resolved
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Fixes #45118
This is the last set of updated errors for C# 12.
Internal previews
usingstatements andusingdeclarations