67 references to Free
Microsoft.CodeAnalysis (37)
ArrayBuilder.cs (1)
378
pool.
Free
(this);
CodeGen\BasicBlock.cs (1)
671
BasicBlock.Pool.
Free
(this);
Collections\CachingFactory.cs (1)
211
pool?.
Free
(this);
Collections\OrderPreservingMultiDictionary.cs (1)
50
_pool?.
Free
(this);
CommandLine\AnalyzerConfigSet.cs (5)
325
_treeOptionsPool.
Free
(treeOptionsBuilder);
326
_analyzerOptionsPool.
Free
(analyzerOptionsBuilder);
338
pool.
Free
(sectionKey);
400
_treeOptionsPool.
Free
(treeOptionsBuilder);
401
_analyzerOptionsPool.
Free
(analyzerOptionsBuilder);
Diagnostic\DiagnosticBag.cs (1)
326
s_poolInstance.
Free
(this);
DiagnosticAnalyzer\AnalyzerExecutor.AnalyzerDiagnosticReporter.cs (1)
65
s_objectPool.
Free
(this);
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (2)
1120
_driverPool.
Free
(driver);
1158
eventQueuePool.
Free
(eventQueue);
DocumentationCommentId.cs (1)
30
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)
109
_pool?.
Free
(this);
InternalUtilities\TextKeyedCache.cs (1)
111
_pool?.
Free
(this);
PEWriter\PooledBlobBuilder.cs (1)
41
s_chunkPool.
Free
(this);
PooledDelegates.cs (1)
362
DefaultDelegatePool<TSelf>.Instance.
Free
((TSelf)this);
PooledDictionary.cs (1)
36
_pool?.
Free
(this);
PooledHashSet.cs (1)
25
_pool?.
Free
(this);
PooledStringBuilder.cs (1)
42
_pool.
Free
(this);
Serialization\ObjectReader.cs (1)
333
s_objectListPool.
Free
(_values);
Serialization\ObjectWriter.cs (1)
421
pool.
Free
(_valueToIdMap);
SourceGeneration\Nodes\SyntaxValueProvider_ForAttributeWithSimpleName.cs (2)
186
s_stringStackPool.
Free
(seenNames);
289
s_nodeStackPool.
Free
(nodeStack);
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)
289
s_builderPool.
Free
(builder);
Text\CompositeText.cs (1)
348
s_uniqueSourcesPool.
Free
(uniqueSources);
Text\SourceText.cs (4)
559
s_charArrayPool.
Free
(buffer);
950
s_charArrayPool.
Free
(buffer);
1091
s_charArrayPool.
Free
(buffer2);
1092
s_charArrayPool.
Free
(buffer1);
Microsoft.CodeAnalysis.CSharp (18)
Binder\BinderFactory.cs (4)
135
_binderFactoryVisitorPool.
Free
(visitor);
165
_binderFactoryVisitorPool.
Free
(visitor);
180
_binderFactoryVisitorPool.
Free
(visitor);
190
_binderFactoryVisitorPool.
Free
(visitor);
Binder\ExpressionVariableFinder.cs (3)
511
s_poolInstance.
Free
(finder);
532
s_poolInstance.
Free
(finder);
645
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)
142
Pool.
Free
(this);
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (1)
1516
s_pool.
Free
(this);
CodeGen\Optimizer.cs (1)
285
_pool?.
Free
(this);
Declarations\DeclarationTreeBuilder.cs (1)
796
s_memberNameBuilderPool.
Free
(builder);
Parser\SlidingTextWindow.cs (1)
78
s_windowPool.
Free
(_characterWindow);
Parser\SyntaxParser.cs (1)
90
s_blendedNodesPool.
Free
(blendedTokens);
Microsoft.CodeAnalysis.VisualBasic (12)
Binding\BinderFactory.vb (1)
56
_binderFactoryVisitorPool.
Free
(visitor)
Binding\LookupResult.vb (1)
359
_pool.
Free
(Me)
Compilation\LookupSymbolsInfo.vb (1)
25
s_pool.
Free
(Me)
Declarations\DeclarationTreeBuilder.vb (1)
610
s_memberNameBuilderPool.
Free
(builder)
Scanner\Scanner.vb (6)
128
s_idTablePool.
Free
(_idTable)
129
s_kwTablePool.
Free
(_kwTable)
130
s_punctTablePool.
Free
(_punctTable)
131
s_literalTablePool.
Free
(_literalTable)
132
s_wslTablePool.
Free
(_wslTable)
133
s_wsTablePool.
Free
(_wsTable)
Scanner\ScannerBuffer.vb (1)
41
_pool.
Free
(Me)
Symbols\Source\SourceMemberContainerTypeSymbol.vb (1)
2063
s_pool.
Free
(Me)