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