9 references to ReturnAndFree
Microsoft.CodeAnalysis.Workspaces (9)
CodeActions\CodeAction.cs (1)
653StringBuilderPool.ReturnAndFree(equivalenceKey);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.AbstractComplexTrivia.cs (1)
159return StringBuilderPool.ReturnAndFree(sb);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.FormattedWhitespace.cs (1)
40return StringBuilderPool.ReturnAndFree(builder);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\TreeData.Node.cs (1)
57return StringBuilderPool.ReturnAndFree(builder);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\FormattingExtensions.cs (2)
168return StringBuilderPool.ReturnAndFree(builder); 211return StringBuilderPool.ReturnAndFree(builder);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\TriviaEngine\AbstractTriviaFormatter.cs (3)
808return StringBuilderPool.ReturnAndFree(sb); 815return StringBuilderPool.ReturnAndFree(sb); 820return StringBuilderPool.ReturnAndFree(sb);