Use 'not' pattern instead of negation

Proprietary

Detect !(x is Type) patterns that can use x is not Type.

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

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