dotnet/roslyn

Source generator warning duplication and missing link and description

Open

#69.826 aberto em 5 de set. de 2023

Ver no GitHub
 (8 comments) (1 reaction) (0 assignees)C# (4.257 forks)batch import
Area-IDEBughelp wanted

Métricas do repositório

Stars
 (20.414 stars)
Métricas de merge de PR
 (Mesclagem média 6d 17h) (256 fundiu PRs em 30d)

Description

Version Used:

  • Microsoft Visual Studio Enterprise 2022 (64-bit) - Preview Version 17.8.0 Preview 1.0

Steps to Reproduce:

  1. Clone/download https://github.com/kzu/SourceGeneratorWarning/
  2. Build once: a warning should appear, with a link, message and description
  3. Rebuild the Tests project. A duplicate warning missing the right link (takes you instead to a generic VS F1 help page) and missing the description is shown:

image

Expected Behavior:

Only one warning is ever shown, and it is consistent, showing the description and link as provided by the diagnostic descriptor.

Actual Behavior:

Duplicate warning, missing link and description.

Guia do colaborador