Optimize StringBuilder.Append usage

Proprietary

Optimize StringBuilder method calls: use char overloads for single-character strings, remove redundant ToString() calls, replace string.Format with AppendFormat, and split string concatenation into chained Append calls.

OpenRewrite.Recipes.CSharp.CodeQuality.Performance.OptimizeStringBuilderAppend
mod run . --recipe=OpenRewrite.Recipes.CSharp.CodeQuality.Performance.OptimizeStringBuilderAppend

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.