4 references to ClearAndFree
Microsoft.CodeAnalysis.Workspaces (4)
FindSymbols\SymbolTree\SymbolTreeInfo_Metadata.cs (1)
580
s_stringListPool.
ClearAndFree
(baseTypeNameParts);
LanguageServices\DeclaredSymbolFactoryService\AbstractDeclaredSymbolInfoFactoryService.cs (1)
129
s_aliasMapListPool.
ClearAndFree
(list);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\ObjectPools\PooledObject.cs (1)
151
=> pool.
ClearAndFree
(obj, pool.TrimOnFree);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SerializableBytes.cs (1)
404
SharedPools.BigDefault<List<byte[]>>().
ClearAndFree
(temp);