.NET 10 / C# 14 support

Hi there, fellow .NET developers!

I am extremely happy to report that we have just released support for .NET 10 & C# 14 in our .NET analyzer (version 10.18).

Like every year, the team has been working hard reviewing each of our rules to figure out how they are impacted by the changes in C#14 to remove failures and false positives when analyzing code that makes use of the new features of the language.

We reviewed our most used rules (over 300) to make sure they behave properly in the presence of new language constructs such as

  • Null Conditional assignment

  • Expression blocks

  • Partial events and constructors

  • Field keyword

Our main focus was on preventing False Positives, as we know how much those can impact your adoption of a new version of the language and .NET runtime.With this update you can analyze your C#14 code and you should see a drastic improvement on the quality of findings.

Of course, there will still be problems lurking in the dark, so do not hesitate to mark any False-Positive that you see, or report them here on this forum. Your attention to details is what helps us make the analyzer better throughout the year!

This support came a bit later than usual for us, mostly due to other competing priorities, which might have made it harder than it should be for you to migrate your codebase. In 2026 we will be looking at ways to ensure we can release this closer to the official .NET release date, so you can adopt new versions more easily.

This new version is available on SonarQube Cloud today, and will be in SonarQube Server 2026.1, our upcoming LTA release, and of course in SonarQube for IDE.

Denis

5 Likes