10 references to ClearAndFree
Microsoft.CodeAnalysis.Features (1)
AbstractUseAutoPropertyAnalyzer.cs (1)
132_fieldNamesPool.ClearAndFree(fieldNames);
Microsoft.CodeAnalysis.Workspaces (8)
Classification\SyntaxClassification\AbstractSyntaxClassificationService.Worker.cs (1)
72SharedPools.Default<HashSet<ClassifiedSpan>>().ClearAndFree(worker._set);
FindSymbols\SyntaxTree\SyntaxTreeIndex_Create.cs (6)
198StringLiteralHashSetPool.ClearAndFree(stringLiterals); 199LongLiteralHashSetPool.ClearAndFree(longLiterals); 283SharedPools.StringIgnoreCaseHashSet.ClearAndFree(identifiers); 284SharedPools.StringIgnoreCaseHashSet.ClearAndFree(escapedIdentifiers); 291SharedPools.StringHashSet.ClearAndFree(identifiers); 292SharedPools.StringHashSet.ClearAndFree(escapedIdentifiers);
PooledObject.cs (1)
113=> pool.ClearAndFree(obj);
Microsoft.VisualStudio.LanguageServices (1)
Venus\ContainedDocument.cs (1)
259SharedPools.Default<HashSet<int>>().ClearAndFree((HashSet<int>)affectedVisibleSpanIndices);