Use short-circuit operator

Proprietary

Replace bitwise & with && and | with || in boolean contexts.

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

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