9 references to ClearAndFree
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\Analyzers\UseAutoProperty\AbstractUseAutoPropertyAnalyzer.cs (1)
166_fieldNamesPool.ClearAndFree(fieldNames);
Microsoft.CodeAnalysis.Workspaces (7)
FindSymbols\SyntaxTree\SyntaxTreeIndex_Create.cs (6)
214StringLiteralHashSetPool.ClearAndFree(stringLiterals); 215LongLiteralHashSetPool.ClearAndFree(longLiterals); 382SharedPools.StringIgnoreCaseHashSet.ClearAndFree(identifiers); 383SharedPools.StringIgnoreCaseHashSet.ClearAndFree(escapedIdentifiers); 390SharedPools.StringHashSet.ClearAndFree(identifiers); 391SharedPools.StringHashSet.ClearAndFree(escapedIdentifiers);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\ObjectPools\PooledObject.cs (1)
134=> pool.ClearAndFree(obj);
Microsoft.VisualStudio.LanguageServices (1)
Venus\ContainedDocument.cs (1)
256SharedPools.Default<HashSet<int>>().ClearAndFree((HashSet<int>)affectedVisibleSpanIndices);