Use pattern matching for inequality comparison

Proprietary

Replace x != constant with x is not constant for improved readability using C# pattern matching.

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

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