Skip to content

Conversation

Add all newly created diagnostics that map to existing consolidated error files.
Copy link
Contributor

Copilot AI left a 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

BillWagner and others added 4 commits November 7, 2025 12:51
…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.
Co-authored-by: Genevieve Warren <24882762+gewarren@users.noreply.github.com>
@BillWagner BillWagner enabled auto-merge (squash) November 7, 2025 19:58
@BillWagner BillWagner merged commit 871025f into dotnet:main Nov 7, 2025
9 checks passed
@BillWagner BillWagner deleted the final-csharp14-errors branch November 7, 2025 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants