C# False positive csharpsquid:S3903

Hi Team,

We got the report for a false positive in C# which actually claimed by user as not a bug as per C#10 feature File-Scoped namespace Declaration
C#10 microsoft Reference for File-Scoped namespace Declaration: File scoped namespaces - C# 10.0 draft specifications | Microsoft Learn

rule id: csharpsquid:S3903
Please check and lets us know is there any change we can expect?

Make sure to read this post before raising a thread here:

Hey there.

You moved the template post to the bottom, but I’m not sure you actually read it. :slight_smile:

Please provide the requested information from that post, like the product(s) you’re using (and version, if relevant).

Running SonarQube 8.9.2

Let me know what more details required. I have attached screenshot and shared rule id.

It looks like you face this issue: https://github.com/SonarSource/sonar-dotnet/issues/4731

A fix for which is available in the latest version of SonarQube (v9.7)