7 references to ClearAndFree
Microsoft.CodeAnalysis.Workspaces (7)
FindSymbols\SyntaxTree\SyntaxTreeIndex_Create.cs (6)
206
StringLiteralHashSetPool.
ClearAndFree
(stringLiterals);
207
LongLiteralHashSetPool.
ClearAndFree
(longLiterals);
359
SharedPools.StringIgnoreCaseHashSet.
ClearAndFree
(identifiers);
360
SharedPools.StringIgnoreCaseHashSet.
ClearAndFree
(escapedIdentifiers);
367
SharedPools.StringHashSet.
ClearAndFree
(identifiers);
368
SharedPools.StringHashSet.
ClearAndFree
(escapedIdentifiers);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\ObjectPools\PooledObject.cs (1)
134
=> pool.
ClearAndFree
(obj);