Remove unconditional value overwrite

Proprietary

Remove consecutive assignments to the same collection key or index where the first value is immediately overwritten and never read.

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

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