5 references to AllocateAndClear
Microsoft.CodeAnalysis.Workspaces (5)
FindSymbols\SyntaxTree\SyntaxTreeIndex_Create.cs (4)
367identifiers = SharedPools.StringIgnoreCaseHashSet.AllocateAndClear(); 368escapedIdentifiers = SharedPools.StringIgnoreCaseHashSet.AllocateAndClear(); 375identifiers = SharedPools.StringHashSet.AllocateAndClear(); 376escapedIdentifiers = SharedPools.StringHashSet.AllocateAndClear();
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\ObjectPools\PooledObject.cs (1)
128=> pool.AllocateAndClear();