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)
261identifiers = SharedPools.StringIgnoreCaseHashSet.AllocateAndClear(); 262escapedIdentifiers = SharedPools.StringIgnoreCaseHashSet.AllocateAndClear(); 269identifiers = SharedPools.StringHashSet.AllocateAndClear(); 270escapedIdentifiers = SharedPools.StringHashSet.AllocateAndClear();
PooledObject.cs (1)
110=> pool.AllocateAndClear();
Microsoft.VisualStudio.LanguageServices (1)
Venus\ContainedDocument.cs (1)
729var affectedSpans = SharedPools.Default<HashSet<int>>().AllocateAndClear();