github / github/codeql

False positive - C# Constant Condition

Aperta
#14,641 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
false-positive
Lingua principale
CodeQL
Stelle
10.1k
Fork
2.1k
Merge medio
2g 15h
PR unite (30g)
141

Descrizione

**Description of the false positive**

Customer reported an instance where a conditional statement was wrongly flagged as one that would always evaluate to false. In fact, the code could evaluate to true.

![Image](https://github.com/github/codeql/assets/33412273/3038370a-b551-4c78-9e08-2d7556af8d0d)

**Code samples or links to source code**

refer to image

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.