Use ContainsKey instead of TryGetValue with discard

Proprietary

When only checking if a key exists, use ContainsKey instead of TryGetValue with a discarded out parameter.

OpenRewrite.Recipes.CSharp.CodeQuality.Performance.FindUseContainsKeyInsteadOfTryGetValue
mod run . --recipe=OpenRewrite.Recipes.CSharp.CodeQuality.Performance.FindUseContainsKeyInsteadOfTryGetValue

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