7 references to AllocateAndClear
Microsoft.CodeAnalysis.Workspaces (6)
Classification\SyntaxClassification\AbstractSyntaxClassificationService.Worker.cs (1)
49
_set = SharedPools.Default<HashSet<ClassifiedSpan>>().
AllocateAndClear
();
FindSymbols\SyntaxTree\SyntaxTreeIndex_Create.cs (4)
261
identifiers = SharedPools.StringIgnoreCaseHashSet.
AllocateAndClear
();
262
escapedIdentifiers = SharedPools.StringIgnoreCaseHashSet.
AllocateAndClear
();
269
identifiers = SharedPools.StringHashSet.
AllocateAndClear
();
270
escapedIdentifiers = SharedPools.StringHashSet.
AllocateAndClear
();
PooledObject.cs (1)
110
=> pool.
AllocateAndClear
();
Microsoft.VisualStudio.LanguageServices (1)
Venus\ContainedDocument.cs (1)
729
var affectedSpans = SharedPools.Default<HashSet<int>>().
AllocateAndClear
();