SonarLint for VS 2022 - S4581

Version: SonarLint - 5.3.0.41207
Issue: S4581 triggered on comparison with default

Sample code:

 if (accountGuid == default)
  {
     return;
  }

Hey there.

Thanks for the report. We know about this false-positive already, so keep an eye on the GitHub issue.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.