False-Positive for Safe Navigation Operator in VB.Net


We are using SonarQube Community Edition, Version 9.9.2 (build 77730) and we have some false-positive issues that were detected in our VB.Net-Code:

We are also using Visual Studio 2022 (Version 17.9.6) and the SonarLint-Extension in connected mode (Version and this false-positive is not shown there, which is correct.

How can we solve this problem of the false detection in SonarQube?

Sorry in advance, I’m new in handling SonarQube/SonarLint.

Thanks for help !


Welcome to the community!

What’s the rule ID? It will look something like S123.


Hi Ann,

Thank you!
It’s the rule S2259, do you have any ideas what is goind wrong here?

Has anyone a idea how to solve my problem with the different detection in SonarQube and the SonarLint-Addin?
Thank You!

Hi Joseph,

Sorry for the lag in responding. Somehow I missed the notification for your reply.

I’m going to flag this for the language experts.


Hi Ann,
No need to say sorry and thank you for your help !

1 Like