Prefer null check over type check
ProprietaryReplace x is object with x is not null for clarity.
OpenRewrite. Recipes. CSharp. CodeQuality. Style. PreferNullCheckOverTypeCheckmod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Style. PreferNullCheckOverTypeCheckInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.