14 references to StringBuilderPool
Microsoft.CodeAnalysis.CodeStyle (14)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.AbstractComplexTrivia.cs (2)
152var sb = StringBuilderPool.Allocate(); 159return StringBuilderPool.ReturnAndFree(sb);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.FormattedWhitespace.cs (2)
33var builder = StringBuilderPool.Allocate(); 40return StringBuilderPool.ReturnAndFree(builder);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\TreeData.Node.cs (2)
53var builder = StringBuilderPool.Allocate(); 57return StringBuilderPool.ReturnAndFree(builder);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\FormattingExtensions.cs (4)
151var builder = StringBuilderPool.Allocate(); 168return StringBuilderPool.ReturnAndFree(builder); 180var builder = StringBuilderPool.Allocate(); 211return StringBuilderPool.ReturnAndFree(builder);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\TriviaEngine\AbstractTriviaFormatter.cs (4)
798var sb = StringBuilderPool.Allocate(); 808return StringBuilderPool.ReturnAndFree(sb); 815return StringBuilderPool.ReturnAndFree(sb); 820return StringBuilderPool.ReturnAndFree(sb);