Use ContainsKey instead of TryGetValue with discard
ProprietaryWhen only checking if a key exists, use ContainsKey instead of TryGetValue with a discarded out parameter.
OpenRewrite. Recipes. CSharp. CodeQuality. Performance. FindUseContainsKeyInsteadOfTryGetValuemod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Performance. FindUseContainsKeyInsteadOfTryGetValueInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.