Remove if/else with identical branches

Proprietary

Replace an if/else chain where every branch has the same body with just the body, since the conditions have no effect on the outcome.

OpenRewrite.Recipes.CSharp.CodeQuality.Redundancy.AllBranchesIdentical
mod run . --recipe=OpenRewrite.Recipes.CSharp.CodeQuality.Redundancy.AllBranchesIdentical

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