Find Dictionary/HashSet without StringComparer
ProprietaryDetect Dictionary<string, T> or HashSet<string> created without an explicit StringComparer. Use StringComparer.Ordinal or StringComparer.OrdinalIgnoreCase.
OpenRewrite. Recipes. CSharp. CodeQuality. Style. FindUseStringComparermod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Style. FindUseStringComparerInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.