dotnet/roslyn

Source generator warning duplication and missing link and description

Open

#69,826 建立於 2023年9月5日

在 GitHub 查看
 (8 留言) (1 反應) (0 負責人)C# (4,257 fork)batch import
Area-IDEBughelp wanted

倉庫指標

Star
 (20,414 star)
PR 合併指標
 (平均合併 6天 17小時) (30 天內合併 256 個 PR)

描述

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.

貢獻者指南