7 references to ClearAndFree
Microsoft.CodeAnalysis.Workspaces (7)
FindSymbols\SyntaxTree\SyntaxTreeIndex_Create.cs (6)
208
StringLiteralHashSetPool.
ClearAndFree
(stringLiterals);
209
LongLiteralHashSetPool.
ClearAndFree
(longLiterals);
361
SharedPools.StringIgnoreCaseHashSet.
ClearAndFree
(identifiers);
362
SharedPools.StringIgnoreCaseHashSet.
ClearAndFree
(escapedIdentifiers);
369
SharedPools.StringHashSet.
ClearAndFree
(identifiers);
370
SharedPools.StringHashSet.
ClearAndFree
(escapedIdentifiers);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\ObjectPools\PooledObject.cs (1)
134
=> pool.
ClearAndFree
(obj);