Hi .NET Folks
We’re happy to announce some big improvements to our rules that detect issues with null values.You should see better detection, especially when using the latest C# versions with the following rules:
- Empty nullable value should not be accessed (also now in VB.NET)
- Arguments of public methods should be validated against null (also now in VB.NET)
- Null pointers should not be dereferenced
Additionally, with the help of the ever generous @Corniel, we have a new regex rule:
This is available today on SonarCloud and will be in the upcoming SonarQube 10.1 release as well as future versions of SonarLint.
We’d love to hear your feedback.