7 references to ClearAndFree
Microsoft.CodeAnalysis.Workspaces (7)
FindSymbols\SyntaxTree\SyntaxTreeIndex_Create.cs (6)
214StringLiteralHashSetPool.ClearAndFree(stringLiterals); 215LongLiteralHashSetPool.ClearAndFree(longLiterals); 382SharedPools.StringIgnoreCaseHashSet.ClearAndFree(identifiers); 383SharedPools.StringIgnoreCaseHashSet.ClearAndFree(escapedIdentifiers); 390SharedPools.StringHashSet.ClearAndFree(identifiers); 391SharedPools.StringHashSet.ClearAndFree(escapedIdentifiers);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\ObjectPools\PooledObject.cs (1)
134=> pool.ClearAndFree(obj);