S2583 FP: Condition evaluates to constant - false positive when casting floating point numbers #739
Labels
Area: C#
C# rules related issues.
Area: CFG/SE
CFG and SE related issues.
Type: CFG/SE FPs
Rule IS triggered when it shouldn't be for CFG and SE rules.
Milestone
Description
False positive is detected in the following code:
Note: similar FP with the same core reason could be detected in other rules as well.
original SO question
The text was updated successfully, but these errors were encountered: