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