Skip to content

Conversation

Put the errors and the messages in one file for triage and moving into correct themes.
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 adds C# 12 compiler error codes to their appropriate documentation files based on the features they relate to. The changes remove these error codes from the generic "catch-all" file and distribute them to specific error documentation files where they can be properly documented with context.

  • Removes 12 CS9xxx error codes from the generic error page
  • Adds these error codes to 6 specialized documentation files
  • Updates the table of contents to reflect the new error code locations

Reviewed Changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
sorry-we-don-t-have-specifics-on-this-csharp-error.md Removes 12 error codes that are now documented elsewhere, keeping only 3 that belong in the generic file
toc.yml Updates displayName lists to include newly categorized error codes in their respective sections
source-generator-errors.md Adds 5 interceptor-related error codes (CS9231-CS9235) with detailed documentation
ref-modifiers-errors.md Adds CS9205 for interpolated string syntax errors
lambda-expression-errors.md Adds CS9236 informational message for lambda binding performance
inline-array-errors.md Adds CS9125 for inline array attribute parameter validation
array-declaration-errors.md Adds 5 collection expression error codes (CS9212-CS9215, CS9222)

BillWagner and others added 3 commits October 21, 2025 08:04
Co-authored-by: Meaghan Osagie (Lewis) <[email protected]>
Co-authored-by: Meaghan Osagie (Lewis) <[email protected]>
Co-authored-by: Meaghan Osagie (Lewis) <[email protected]>
@BillWagner BillWagner enabled auto-merge (squash) October 21, 2025 12:05
@BillWagner BillWagner merged commit df490d0 into dotnet:main Oct 21, 2025
8 checks passed
@BillWagner BillWagner deleted the csharp-12-errors branch October 21, 2025 12:29
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