Simplify negated is null pattern
ProprietarySimplify !(x is null) to x is not null and !(x is not null) to x is null.
OpenRewrite. Recipes. CSharp. CodeQuality. Simplification. SimplifyNegatedIsNullmod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Simplification. SimplifyNegatedIsNullInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.