6 references to AllocateAndClear
Microsoft.CodeAnalysis.Workspaces (5)
FindSymbols\SyntaxTree\SyntaxTreeIndex_Create.cs (4)
360
identifiers = SharedPools.StringIgnoreCaseHashSet.
AllocateAndClear
();
361
escapedIdentifiers = SharedPools.StringIgnoreCaseHashSet.
AllocateAndClear
();
368
identifiers = SharedPools.StringHashSet.
AllocateAndClear
();
369
escapedIdentifiers = SharedPools.StringHashSet.
AllocateAndClear
();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\ObjectPools\PooledObject.cs (1)
128
=> pool.
AllocateAndClear
();
Microsoft.VisualStudio.LanguageServices (1)
Venus\ContainedDocument.cs (1)
726
var affectedSpans = SharedPools.Default<HashSet<int>>().
AllocateAndClear
();