String.Format format string should be constant
ProprietaryThe format string passed to string.Format should be a compile-time constant to enable analysis and avoid runtime format errors.
OpenRewrite. Recipes. CSharp. CodeQuality. Performance. FindStringFormatShouldBeConstantmod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Performance. FindStringFormatShouldBeConstantInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.