Use pattern matching for null check

Proprietary

Replace x == null with x is null and x != null with x is not null.

OpenRewrite.Recipes.CSharp.CodeQuality.Simplification.UsePatternMatchingNullCheck
mod run . --recipe=OpenRewrite.Recipes.CSharp.CodeQuality.Simplification.UsePatternMatchingNullCheck

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.