Closed groogiam closed 11 months ago
Thank you for submitting this issue. Confirmed as False Positive.
The issue is a True Positive. The analyzer only complains about the conditional access:
Changing
result?.Completed == null
to
result.Completed == null
eliminates the warning.
Description
Please provide a succinct description of your issue. Also please provide the rule ID (e.g. S1234)
Repro steps
The following example results in a false positive.
Expected behavior
Should not flag s2589
Actual behavior
Flags s2589
Known workarounds
Please provide a description of any known workarounds.
Related information