Skip to content

Conversation

@BillWagner
Copy link
Member

@BillWagner BillWagner commented Nov 11, 2025

@BillWagner BillWagner marked this pull request as ready for review November 11, 2025 19:07
@BillWagner BillWagner requested a review from a team as a code owner November 11, 2025 19:07
Copilot AI review requested due to automatic review settings November 11, 2025 19:07
Copilot finished reviewing on behalf of BillWagner November 11, 2025 19:15
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 consolidates 24 attribute-related compiler error and warning documentation files into a single comprehensive article attribute-usage-errors.md. The consolidation groups errors into five logical categories: attribute arguments and parameters, attribute class requirements, attribute location context, predefined attributes, and conditional attribute usage.

Key Changes

  • Created new consolidated article covering CS0243, CS0404, CS0415, CS0416, CS0447, CS0577, CS0578, CS0582, CS0609, CS0625, CS0629, CS0636, CS0637, CS0641, CS0646, CS0653, CS0657, CS0658, CS0685, CS7014, CS7046, CS7047, CS7067, and CS9331.
  • Removed 20 individual error documentation files from docs/csharp/misc/.
  • Added redirections for all moved errors to point to the new consolidated article.

Reviewed Changes

Copilot reviewed 24 out of 24 changed files in this pull request and generated 33 comments.

Show a summary per file
File Description
docs/csharp/language-reference/compiler-messages/attribute-usage-errors.md New consolidated article organizing attribute-related errors into thematic sections with resolution guidance
docs/csharp/language-reference/toc.yml Added new entry for attribute-usage-errors.md with displayName listing all consolidated error codes; removed individual error entries; reformatted async-await-errors displayName
docs/csharp/misc/sorry-we-don-t-have-specifics-on-this-csharp-error.md Removed error codes CS7014, CS7046, CS7047, CS7067, and CS9331 from the unspecified errors list
docs/csharp/misc/cs0243.md through cs0685.md Deleted 20 individual error documentation files that are now consolidated
.openpublishing.redirection.csharp.json Added 20 redirection entries mapping old error file paths to the new consolidated article
.github/prompts/error-consolidation.md Updated prompt template to reference attribute-usage-errors.md as the destination file with instructions for consolidation

BillWagner and others added 4 commits November 11, 2025 14:18
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copy link
Contributor

@meaghanlewis meaghanlewis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These changes LGTM!

@BillWagner BillWagner merged commit b27cfdd into dotnet:main Nov 11, 2025
9 checks passed
@BillWagner BillWagner deleted the more-14-diagnostics branch November 11, 2025 22:06
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