Use string.Contains(char) overload
ProprietaryFinds calls to string.Contains("x") with a single-character string literal that could use the string.Contains('x') overload for better performance.
OpenRewrite. Recipes. CSharp. Migration. Dotnet. Net6. UseStringContainsCharmod run . --recipe= OpenRewrite. Recipes. CSharp. Migration. Dotnet. Net6. UseStringContainsCharInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.