- Guard against bugs from testing structs against
null
. - Bulk code fix will update all your code at once.
- CSIsNull001 to catch uses of
== null
- CSIsNull002 to catch uses of
!= null
Install it via NuGet through the nuget badge at the top of this file.
To get the very latest analyzer from my CI feed:
<add key="PublicCI" value="https://pkgs.dev.azure.com/andrewarnott/OSS/_packaging/PublicCI/nuget/v3/index.json" />
Then install the package with this command in your Package Manager Console:
Install-Package CSharpIsNullAnalyzer -pre