Fix S2259 FP: Reset fields on this invocation with flow captures #6103
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.
Projects
Milestone
#6065 introduced "reset" logic for fields, if an instance method is invoked. The logic fails, if the invocation takes an argument expression, that branches:
Reproducer: #6102
The text was updated successfully, but these errors were encountered: