Find if/else with identical branches

Proprietary

Detect if/else statements where both branches contain identical code. This is likely a copy-paste bug.

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

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