/CSharpIsNull

C# null test syntax analyzers to guard against bugs in testing null against a struct.

Primary LanguagePowerShellMIT LicenseMIT

C# null test syntax analyzers

NuGet package NuGet package Build Status

Features

  • Guard against bugs from testing structs against null.
  • Bulk code fix will update all your code at once.

Analyzers

Consumption

Install it via NuGet through the nuget badge at the top of this file.

Consume from CI

To get the very latest analyzer from my CI feed:

Connect to the 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