63 references to Free
Microsoft.CodeAnalysis (40)
CodeGen\BasicBlock.cs (1)
670
BasicBlock.Pool.
Free
(this);
Collections\CachingFactory.cs (1)
211
pool?.
Free
(this);
Collections\OrderPreservingMultiDictionary.cs (1)
51
_pool?.
Free
(this);
CommandLine\AnalyzerConfigSet.cs (5)
314
_treeOptionsPool.
Free
(treeOptionsBuilder);
315
_analyzerOptionsPool.
Free
(analyzerOptionsBuilder);
327
pool.
Free
(sectionKey);
389
_treeOptionsPool.
Free
(treeOptionsBuilder);
390
_analyzerOptionsPool.
Free
(analyzerOptionsBuilder);
Diagnostic\DiagnosticBag.cs (1)
334
s_poolInstance.
Free
(this);
DiagnosticAnalyzer\AnalyzerExecutor.AnalyzerDiagnosticReporter.cs (1)
65
s_objectPool.
Free
(this);
DocumentationCommentId.cs (1)
31
base.
Free
(list);
DocumentationComments\XmlDocumentationCommentTextReader.cs (1)
30
s_pool.
Free
(reader);
InternalUtilities\BlobBuildingStream.cs (1)
91
s_pool.
Free
(this); // return first chunk to pool
InternalUtilities\StringTable.cs (1)
105
_pool?.
Free
(this);
InternalUtilities\TextKeyedCache.cs (1)
103
_pool?.
Free
(this);
PEWriter\PooledBlobBuilder.cs (1)
81
s_chunkPool.
Free
(this);
ReferenceManager\CommonReferenceManager.Binding.cs (4)
202
s_pool.
Free
(explicitAssembliesMap);
379
s_pool.
Free
(implicitAssembliesMap);
964
s_candidatesToExaminePool.
Free
(candidatesToExamine);
965
s_candidateReferencedSymbolsPool.
Free
(candidateReferencedSymbols);
SourceGeneration\Nodes\SyntaxValueProvider_ForAttributeWithSimpleName.cs (2)
185
s_stringStackPool.
Free
(seenNames);
295
s_nodeStackPool.
Free
(nodeStack);
src\Dependencies\PooledObjects\ArrayBuilder.cs (1)
477
pool.
Free
(this);
src\Dependencies\PooledObjects\PooledDelegates.cs (1)
377
DefaultDelegatePool<TSelf>.Instance.
Free
((TSelf)this);
src\Dependencies\PooledObjects\PooledDictionary.cs (1)
41
_pool?.
Free
(this);
src\Dependencies\PooledObjects\PooledHashSet.cs (1)
30
_pool?.
Free
(this);
src\Dependencies\PooledObjects\PooledStringBuilder.cs (1)
47
_pool.
Free
(this);
Syntax\SyntaxNavigator.cs (2)
134
s_childEnumeratorStackPool.
Free
(stack);
181
s_childReversedEnumeratorStackPool.
Free
(stack);
Syntax\SyntaxNode.Iterators.cs (2)
126
s_stackPool.
Free
(_stack);
182
s_stackPool.
Free
(_stack);
Syntax\SyntaxTriviaList.cs (1)
308
s_builderPool.
Free
(builder);
Text\CompositeText.cs (1)
388
s_uniqueSourcesPool.
Free
(uniqueSources);
Text\SourceText.cs (7)
570
s_charArrayPool.
Free
(buffer);
674
s_charArrayPool.
Free
(charBuffer);
678
s_contentHashPool.
Free
(hash);
738
s_charArrayPool.
Free
(buffer);
1060
s_charArrayPool.
Free
(buffer);
1206
s_charArrayPool.
Free
(buffer2);
1207
s_charArrayPool.
Free
(buffer1);
Microsoft.CodeAnalysis.CSharp (23)
Binder\BinderFactory.cs (1)
152
_binderFactoryVisitorPool.
Free
(visitor);
Binder\BindingDiagnosticBag.cs (1)
79
pool.
Free
(this);
Binder\DecisionDagBuilder.cs (1)
1914
s_dagStatePool.
Free
(this);
Binder\ExpressionVariableFinder.cs (3)
568
s_poolInstance.
Free
(finder);
589
s_poolInstance.
Free
(finder);
702
s_poolInstance.
Free
(finder);
Binder\LookupResult.cs (1)
320
_pool.
Free
(this);
Binder\LookupSymbolsInfo.cs (1)
31
s_pool.
Free
(this);
Binder\Semantics\Operators\BinaryOperatorOverloadResolutionResult.cs (1)
132
Pool.
Free
(this);
Binder\Semantics\Operators\UnaryOperatorOverloadResolutionResult.cs (1)
132
Pool.
Free
(this);
Binder\Semantics\OverloadResolution\AnalyzedArguments.cs (1)
170
Pool.
Free
(this);
Binder\Semantics\OverloadResolution\MethodGroup.cs (1)
147
Pool.
Free
(this);
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (1)
1590
s_pool.
Free
(this);
CodeGen\Optimizer.cs (1)
284
_pool?.
Free
(this);
Compilation\SyntaxAndDeclarationManager.cs (1)
646
s_declarationStack.
Free
(stack);
Parser\LexerCache.cs (1)
107
s_lexerCachePool.
Free
(this);
Parser\SlidingTextWindow.cs (1)
74
s_windowPool.
Free
(_characterWindow);
Parser\SyntaxParser.cs (2)
98
s_blendedNodesPool.
Free
(blendedTokens);
462
s_lexedTokensPool.
Free
(lexedTokens);
SymbolDisplay\SymbolDisplayVisitor.cs (1)
72
_pool.
Free
(this);
Symbols\ConstraintsHelper.cs (1)
581
s_checkConstraintsArgsBoxedPool.
Free
(this);
Symbols\TypeSymbolExtensions.cs (1)
694
s_visitTypeDataPool.
Free
(visitTypeData);
Syntax\SyntaxEquivalence.cs (1)
125
s_equivalenceCheckStack.
Free
(stack);