7 references to ClearAndFree
Microsoft.CodeAnalysis.Workspaces (7)
FindSymbols\SyntaxTree\SyntaxTreeIndex_Create.cs (6)
211
StringLiteralHashSetPool.
ClearAndFree
(stringLiterals);
212
LongLiteralHashSetPool.
ClearAndFree
(longLiterals);
364
SharedPools.StringIgnoreCaseHashSet.
ClearAndFree
(identifiers);
365
SharedPools.StringIgnoreCaseHashSet.
ClearAndFree
(escapedIdentifiers);
372
SharedPools.StringHashSet.
ClearAndFree
(identifiers);
373
SharedPools.StringHashSet.
ClearAndFree
(escapedIdentifiers);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\ObjectPools\PooledObject.cs (1)
134
=> pool.
ClearAndFree
(obj);