Skip to content

Synchronize docs/list-of-diagnostics.md with codebase - #67366

Merged
javiercn merged 1 commit into
mainfrom
copilot/synchronize-documents-with-codebase
Jun 24, 2026
Merged

javiercn merged 1 commit into
mainfrom
copilot/synchronize-documents-with-codebase

Conversation

Copilot AI commented Jun 22, 2026 •

Copy link
Copy Markdown
Contributor

docs/list-of-diagnostics.md was stale — missing entries added since it was last updated. Code is the source of truth.

Description

Audited all DiagnosticDescriptors files across the repo (excluding submodules/tests) and diffed against the document:

  • ASP section header: ASP0000-ASP0024 → ASP0000-ASP0029
  • BL section header: BL0001-BL0007 → BL0001-BL0011; added entries:
    • BL0008 — Property with [SupplyParameterFromForm] should not have initializer
    • BL0009 — Property with [PersistentState] should not have initializer
    • BL0010 — Use InvokeVoidAsync instead of InvokeAsync<object>
    • BL0011 — Virtualize with ItemsProvider requires ItemComparer
  • RDG section header: RDG001-RDG004 → RDG001-RDG014; added entries:
    • RDG011 — Type parameters not supported
    • RDG012 — Unable to resolve inaccessible type
    • RDG013 — Invalid source attributes
    • RDG014 — Invalid enumerable type
  • New section: Components Testing Source Generator (E2E001-E2E003) from src/Components/Testing/gen/DiagnosticDescriptors.cs — was entirely absent from the document

Source files audited:

  • src/Analyzers/Analyzers/src/StartupAnalyzer.Diagnostics.cs

  • src/Framework/AspNetCoreAnalyzers/src/Analyzers/DiagnosticDescriptors.cs

  • src/Mvc/Mvc.Api.Analyzers/src/ApiDiagnosticDescriptors.cs

  • src/Mvc/Mvc.Analyzers/src/DiagnosticDescriptors.cs

  • src/Components/Analyzers/src/DiagnosticDescriptors.cs

  • src/Http/Http.Extensions/gen/.../DiagnosticDescriptors.cs

  • src/SignalR/clients/csharp/Client.SourceGenerator/src/DiagnosticDescriptors.cs

  • src/Components/Testing/gen/DiagnosticDescriptors.cs

  • You've read the Contributor Guide and Code of Conduct.

  • You've included unit or integration tests for your change, where applicable.

  • You've included inline docs for your change, where applicable.

  • There's an open issue for the PR that you are making. If you'd like to propose a new feature or change, please open an issue to discuss the change or find an existing issue.

- Update ASP section header range to ASP0000-ASP0029
- Update BL section header range to BL0001-BL0011
- Add BL0008-BL0011 entries
- Update RDG section header range to RDG001-RDG014
- Add RDG011-RDG014 entries
- Add new Components Testing Source Generator section (E2E001-E2E003)

Co-authored-by: javiercn <[email protected]>
Copilot AI requested a review from javiercn June 22, 2026 15:21
@javiercn
javiercn marked this pull request as ready for review June 22, 2026 15:25
Copilot AI review requested due to automatic review settings June 22, 2026 15:25

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the repository’s diagnostic catalog documentation to match the current set of analyzer/source-generator diagnostics defined in the codebase, ensuring docs/list-of-diagnostics.md remains an accurate reference.

Changes:

  • Expanded the documented ASP diagnostic range to ASP0000-ASP0029 and included the missing entries.
  • Added the missing BL (BL0008-BL0011) and RDG (RDG011-RDG014) diagnostics and updated their section ranges accordingly.
  • Added a new “Components Testing Source Generator” section documenting E2E001-E2E003.

@javiercn
javiercn merged commit 9ef593a into main Jun 24, 2026
13 checks passed
@javiercn
javiercn deleted the copilot/synchronize-documents-with-codebase branch June 24, 2026 09:47
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 11.0-preview7 milestone Jun 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants