5 references to AllocateAndClear
Microsoft.CodeAnalysis.Workspaces (5)
FindSymbols\SyntaxTree\SyntaxTreeIndex_Create.cs (4)
337identifiers = SharedPools.StringIgnoreCaseHashSet.AllocateAndClear(); 338escapedIdentifiers = SharedPools.StringIgnoreCaseHashSet.AllocateAndClear(); 345identifiers = SharedPools.StringHashSet.AllocateAndClear(); 346escapedIdentifiers = SharedPools.StringHashSet.AllocateAndClear();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\ObjectPools\PooledObject.cs (1)
128=> pool.AllocateAndClear();