Use ^ operator for boolean inequality

Proprietary

Replace a != b with a ^ b when both operands are boolean.

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

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