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