Use 'not' pattern instead of negation
ProprietaryDetect !(x is Type) patterns that can use x is not Type.
OpenRewrite. Recipes. CSharp. CodeQuality. Simplification. UseNotPatternmod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Simplification. UseNotPatternInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.