LGTM.com - false positive cs/constant-condition
Offen
C#
false-positive
- Vorherrschende Sprache
- CodeQL
- Sterne
- 10.1k
- Forks
- 2.1k
- Ø Merge
- 2 T. 15 Std.
- Gemergte PRs (30 T.)
- 141
Beschreibung
Conditions including `true && ...` are falsely reported as always returning true.
While I admit including extra `true` statements is a bit redundant, it can help minimise git diffs when long conditionals are split over multiple lines.
https://lgtm.com/projects/g/rkm/lgtm-constant-conditional-test
Thanks!
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.