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