dotnet/roslyn

Only Left and returnValue gets checked for dynamic in signature

Open

#69.215 aperta il 25 lug 2023

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)C# (4257 fork)batch import
Area-CompilersBughelp wanted

Metriche repository

Star
 (20.414 star)
Metriche merge PR
 (Merge medio 6g 17h) (256 PR mergiate in 30 g)

Descrizione

[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

Guida contributor