Use pattern matching for null check
ProprietaryReplace x == null with x is null and x != null with x is not null.
OpenRewrite. Recipes. CSharp. CodeQuality. Simplification. UsePatternMatchingNullCheckmod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Simplification. UsePatternMatchingNullCheckInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.