Fix S2259 FP: Should not report in switch expression after a null check #6170
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
First
null
check should buildNotNull
constraint in "else" branch. Other checks should take that into accountThe text was updated successfully, but these errors were encountered: