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