dotnet/roslyn

Only Left and returnValue gets checked for dynamic in signature

Open

#69,215 建立於 2023年7月25日

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

倉庫指標

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

描述

[jcouv:] the linked PR makes it clearer what the problem is. It just needs a test to verify the impact and fix.

Version Used: Main branch

Steps to Reproduce:

  1. I ran a roslyn analyser to check for identical subexpressions on this repo and encountered a diagnostic on this line.
  2. I checked to code if this was a correct diagnostic and to me it seemed like a correct diagnostic

Diagnostic Id: IdenticalSubexpression Expected Behavior: No diagnostic from an identical subexpression subexpression Actual Behavior:

I get a diagnostic from an identical subexpression subexpression on this line

貢獻者指南