8 references to ClearAndFree
Microsoft.CodeAnalysis.Features (1)
src\roslyn\src\Analyzers\Core\Analyzers\UseAutoProperty\AbstractUseAutoPropertyAnalyzer.cs (1)
166_fieldNamesPool.ClearAndFree(fieldNames);
Microsoft.CodeAnalysis.Workspaces (7)
FindSymbols\SyntaxTree\SyntaxTreeIndex_Create.cs (6)
221StringLiteralHashSetPool.ClearAndFree(stringLiterals); 222LongLiteralHashSetPool.ClearAndFree(longLiterals); 389SharedPools.StringIgnoreCaseHashSet.ClearAndFree(identifiers); 390SharedPools.StringIgnoreCaseHashSet.ClearAndFree(escapedIdentifiers); 397SharedPools.StringHashSet.ClearAndFree(identifiers); 398SharedPools.StringHashSet.ClearAndFree(escapedIdentifiers);
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\ObjectPools\PooledObject.cs (1)
134=> pool.ClearAndFree(obj);