# Big upgrade for 2 important .NET rules

**URL:** <https://community.sonarsource.com/t/big-upgrade-for-2-important-net-rules/98505>\
**Category:** Sonar Updates\
**Tags:** dotnet, sonarqube-cloud\
**Created:** [September 1, 2023, 2:29pm UTC](https://community.sonarsource.com/t/big-upgrade-for-2-important-net-rules/98505 "2023-09-01T14:29:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tom\_Howlett](https://dub1.discourse-cdn.com/sonarsource/user_avatar/community.sonarsource.com/tom_howlett/32/22183_2.png) [@Tom\_Howlett](https://community.sonarsource.com/u/Tom_Howlett)\
**Post date:** [September 1, 2023, 2:29pm UTC](https://community.sonarsource.com/t/big-upgrade-for-2-important-net-rules/98505/1 "2023-09-01T14:29:08Z")

</div>

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](https://rules.sonarsource.com/csharp/RSPEC-2583/)
2. [Boolean expressions should not be gratuitous](https://rules.sonarsource.com/csharp/RSPEC-2589/)

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!

Tom
