Big upgrade for 2 important .NET rules

Hi .NET Folks

If you use SonarCloud you may have noticed new issues on the following 2 rules:

  1. Conditionally executed code should be reachable
  2. Boolean expressions should not be gratuitous

As with many of our other rule improvements these now detect more issues, more accurately, particularly when the newest C# versions are used.

Whats more these rules are now also available on VB.NET.

These changes are on SonarCloud now and will be available in the upcoming SonarQube 10.2 and the next releases of SonarLint for Visual Studio and Rider.

Happy Coding!


1 Like