Code analyzer for C# and VB.NET projects
In this release we added six code structure and best practice rules.
Thank you @teo-tsirpanis, for contributing #6580
@Corniel: Thank you for implementing S3898 for VB.NET!
Hello everyone,
We are happy to announce that in this release we implemented Incremental PR analysis for C# and Vb.Net, a feature that can significantly reduce the analysis time when analyzing PRs.
Additionally, we fixed false positives and negatives introduced by the new C# 11 syntax and introduced a new rule #5693
Special thanks to our contributors @Corniel for #5693 and @Smenus for #6497.
Incremental PR analysis (#6514, #6512, #6487, #6486, #6485, #6484, #6483)
Hi everyone,
This release brings you the second fragment of C# 11 support in our Sonarway rules. It fixes false negatives that were caused by the new C# 11 syntax. Look out for new releases as soon we will start adding C# 11 support to our non-sonarway rules.
Special thanks to @Corniel for implementing a new VB.NET rule, and also for adding a new codefix provider.
Hi everyone,
This release brings you the first fragment of C# 11 support in our Sonarway rules. It fixes a nice number of false positives and false negatives that were caused by the new C# 11 syntax. Look out for new releases as we will continue working on our C# 11 syntax support.
Special thanks to @Corniel for his contribution: https://github.com/SonarSource/sonar-dotnet/issues/6279.
In this release, we further improved S2259 (Null pointers should not be dereferenced) and fixed security-related false positives.
Special thanks to @Corniel for his contribution: https://github.com/SonarSource/sonar-dotnet/issues/6112.
Hi everyone,
We've worked on improving S2259 rule after it's migration to our new Symbolic Execution engine. We can now fix issues that were previously too difficult or impossible to fix.
for
loopHi everyone,
With this release, we worked on S2259 to support VB and newer C# language features.
Special thanks to @Corniel for his contribution: #194.