Fix S2583 FP: certains configuration of conditions lead to wrong detection of dead code #2442
Labels
Area: C#
C# rules related issues.
Area: CFG/SE
CFG and SE related issues.
Type: False Positive
Rule IS triggered when it shouldn't be.
Milestone
Repro steps
Expected behavior
Rule S2583 should not be triggered
Actual Behavior
The else code should not be considered as dead code, as at least one combination of conditions triggers it.
Related information
Sonar C# version 7.11
The text was updated successfully, but these errors were encountered: