# Catch more potential null reference exceptions in .NET

**URL:** <https://community.sonarsource.com/t/catch-more-potential-null-reference-exceptions-in-net/74112>\
**Category:** Sonar Updates\
**Tags:** sonarqube, dotnet, sonarqube-cloud\
**Created:** [October 6, 2022, 10:32am UTC](https://community.sonarsource.com/t/catch-more-potential-null-reference-exceptions-in-net/74112 "2022-10-06T10:32:30Z")\
**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:** [October 6, 2022, 10:32am UTC](https://community.sonarsource.com/t/catch-more-potential-null-reference-exceptions-in-net/74112/1 "2022-10-06T10:32:30Z")

</div>

Hi .NET Folks

Our C# analysis is now capable of detecting more potential null reference exceptions, with some big improvements to the rule [Null pointers should not be dereferenced](https://rules.sonarsource.com/csharp/RSPEC-2259). The [rule](https://rules.sonarsource.com/vbnet/RSPEC-2259) also now works in your [VB.NET](http://VB.NET) code.

Please let us know if you have any feedback. This is available today in SonarCloud, as well as in the upcoming 9.7 release of SonarQube.

Tom
