67 references to Free
Microsoft.CodeAnalysis (37)
ArrayBuilder.cs (1)
378pool.Free(this);
CodeGen\BasicBlock.cs (1)
671BasicBlock.Pool.Free(this);
Collections\CachingFactory.cs (1)
211pool?.Free(this);
Collections\OrderPreservingMultiDictionary.cs (1)
50_pool?.Free(this);
CommandLine\AnalyzerConfigSet.cs (5)
325_treeOptionsPool.Free(treeOptionsBuilder); 326_analyzerOptionsPool.Free(analyzerOptionsBuilder); 338pool.Free(sectionKey); 400_treeOptionsPool.Free(treeOptionsBuilder); 401_analyzerOptionsPool.Free(analyzerOptionsBuilder);
Diagnostic\DiagnosticBag.cs (1)
326s_poolInstance.Free(this);
DiagnosticAnalyzer\AnalyzerExecutor.AnalyzerDiagnosticReporter.cs (1)
65s_objectPool.Free(this);
DiagnosticAnalyzer\CompilationWithAnalyzers.cs (2)
1120_driverPool.Free(driver); 1158eventQueuePool.Free(eventQueue);
DocumentationCommentId.cs (1)
30base.Free(list);
DocumentationComments\XmlDocumentationCommentTextReader.cs (1)
30s_pool.Free(reader);
InternalUtilities\BlobBuildingStream.cs (1)
91s_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)
41s_chunkPool.Free(this);
PooledDelegates.cs (1)
362DefaultDelegatePool<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)
333s_objectListPool.Free(_values);
Serialization\ObjectWriter.cs (1)
421pool.Free(_valueToIdMap);
SourceGeneration\Nodes\SyntaxValueProvider_ForAttributeWithSimpleName.cs (2)
186s_stringStackPool.Free(seenNames); 289s_nodeStackPool.Free(nodeStack);
Syntax\SyntaxNavigator.cs (2)
134s_childEnumeratorStackPool.Free(stack); 181s_childReversedEnumeratorStackPool.Free(stack);
Syntax\SyntaxNode.Iterators.cs (2)
126s_stackPool.Free(_stack); 182s_stackPool.Free(_stack);
Syntax\SyntaxTriviaList.cs (1)
289s_builderPool.Free(builder);
Text\CompositeText.cs (1)
348s_uniqueSourcesPool.Free(uniqueSources);
Text\SourceText.cs (4)
559s_charArrayPool.Free(buffer); 950s_charArrayPool.Free(buffer); 1091s_charArrayPool.Free(buffer2); 1092s_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)
511s_poolInstance.Free(finder); 532s_poolInstance.Free(finder); 645s_poolInstance.Free(finder);
Binder\LookupResult.cs (1)
320_pool.Free(this);
Binder\LookupSymbolsInfo.cs (1)
31s_pool.Free(this);
Binder\Semantics\Operators\BinaryOperatorOverloadResolutionResult.cs (1)
132Pool.Free(this);
Binder\Semantics\Operators\UnaryOperatorOverloadResolutionResult.cs (1)
132Pool.Free(this);
Binder\Semantics\OverloadResolution\AnalyzedArguments.cs (1)
170Pool.Free(this);
Binder\Semantics\OverloadResolution\MethodGroup.cs (1)
142Pool.Free(this);
Binder\Semantics\OverloadResolution\OverloadResolutionResult.cs (1)
1516s_pool.Free(this);
CodeGen\Optimizer.cs (1)
285_pool?.Free(this);
Declarations\DeclarationTreeBuilder.cs (1)
796s_memberNameBuilderPool.Free(builder);
Parser\SlidingTextWindow.cs (1)
78s_windowPool.Free(_characterWindow);
Parser\SyntaxParser.cs (1)
90s_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)
25s_pool.Free(Me)
Declarations\DeclarationTreeBuilder.vb (1)
610s_memberNameBuilderPool.Free(builder)
Scanner\Scanner.vb (6)
128s_idTablePool.Free(_idTable) 129s_kwTablePool.Free(_kwTable) 130s_punctTablePool.Free(_punctTable) 131s_literalTablePool.Free(_literalTable) 132s_wslTablePool.Free(_wslTable) 133s_wsTablePool.Free(_wsTable)
Scanner\ScannerBuffer.vb (1)
41_pool.Free(Me)
Symbols\Source\SourceMemberContainerTypeSymbol.vb (1)
2063s_pool.Free(Me)