39 references to Free
Microsoft.CodeAnalysis.CodeStyle (39)
src\Analyzers\Core\Analyzers\UseCollectionInitializer\AbstractObjectCreationExpressionAnalyzer.cs (1)
63s_pool.Free((TAnalyzer)this);
src\Compilers\Core\Portable\Collections\OrderPreservingMultiDictionary.cs (1)
51_pool?.Free(this);
src\Compilers\Core\Portable\InternalUtilities\StringTable.cs (1)
109_pool?.Free(this);
src\Dependencies\PooledObjects\ArrayBuilder.cs (1)
447pool.Free(this);
src\Dependencies\PooledObjects\PooledDelegates.cs (1)
375DefaultDelegatePool<TSelf>.Instance.Free((TSelf)this);
src\Dependencies\PooledObjects\PooledDictionary.cs (1)
36_pool?.Free(this);
src\Dependencies\PooledObjects\PooledHashSet.cs (1)
25_pool?.Free(this);
src\Dependencies\PooledObjects\PooledStringBuilder.cs (1)
42_pool.Free(this);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.BasicBlockAnalysisData.cs (1)
40s_pool.Free(this);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.Walker.cs (1)
48s_visitorPool.Free(visitor);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\NodeOperations.cs (4)
36s_indentBlockOperationPool.Free(IndentBlockOperation); 39s_suppressOperationPool.Free(SuppressOperation); 42s_alignTokensOperationPool.Free(AlignmentOperation); 45s_anchorIndentationOperationPool.Free(AnchorIndentationOperations);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Log\LogMessage.cs (6)
83s_pool.Free(this); 113s_pool.Free(this); 146s_pool.Free(this); 182s_pool.Free(this); 221s_pool.Free(this); 263s_pool.Free(this);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\ObjectPools\Extensions.cs (12)
91=> new(pool, p => p.Allocate(), (p, o) => p.Free(o)); 180pool.Free(sb); 198pool.Free(set); 216pool.Free(set); 232pool.Free(set); 246pool.Free(stack); 262pool.Free(stack); 280pool.Free(set); 299pool.Free(map); 316pool.Free(map); 333pool.Free(list); 350pool.Free(list);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectReader.ReaderReferenceMap.cs (1)
32s_objectListPool.Free(_values);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Serialization\ObjectWriter.WriterReferenceMap.cs (1)
41s_valueDictionaryPool.Free(_valueToIdMap);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyReader.cs (1)
353s_readerPool.Free(this);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.SymbolKeyWriter.cs (1)
95s_writerPool.Free(this);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\SerializableBytes.cs (3)
85SharedPools.ByteArray.Free(chunks[c]); 261SharedPools.ByteArray.Free(chunk); 342SharedPools.ByteArray.Free(chunks[i]);