FP: S2325 triggers for WPF events - Sonar IDE

I am encountering this false positive FP: S2325 triggers for WPF events on Sonar IDE for Rider in disconnected mode. It does not appear to be triggering on the server side analysis. Thanks.

Otherwise, please provide:

  • Operating system: Windows 11
  • IDE name and flavor/env: Rider

Hi,

Can you share what version of SonarQube for IDE you’re seeing this in?

 
Thx,
Ann

Version 11.4.0.82618

Some of these issues seem to have disappeared, I was seeing them when the precommit checks ran but when I checked again today most on my various UI components have disappeared. I am still seeing them on App.xaml Application level events such as Startup and Exit.

Thanks.

Hi,

Thanks for the version. Could you also share a verbose log from IDE startup to the error?

 
Thx,
Ann

See attached. Also this particular instance of the issue does seem to trigger on the server side analysis. Thanks.
sonar_fp_s2325_wpf.txt (25.9 KB)

Hey Greg, thanks for reporting this, we’re looking into it. Could you please provide a very basic reproducer? That would help us :folded_hands:

1 Like

See below. Thanks.

WpfAppS2325.zip (2.9 KB)