Find binary expression with identical sides

Proprietary

Detect binary expressions where both sides are identical, e.g. x == x or a && a. This is likely a copy-paste bug.

OpenRewrite.Recipes.CSharp.CodeQuality.Style.FindBothConditionSidesIdentical
mod run . --recipe=OpenRewrite.Recipes.CSharp.CodeQuality.Style.FindBothConditionSidesIdentical

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