54 references to Free
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Simplification\Reducers\AbstractCSharpReducer.AbstractReductionRewriter.cs (1)
59
_pool.
Free
(this);
Microsoft.CodeAnalysis.EditorFeatures (2)
IntelliSense\AsyncCompletion\ItemManager.CompletionListUpdater.cs (2)
188
s_listOfMatchResultPool.
Free
(itemsToBeIncluded);
440
s_listOfMatchResultPool.
Free
(filteredMatchResultsBuilder);
Microsoft.CodeAnalysis.Features (8)
Completion\CompletionService.cs (1)
268
s_listOfMatchResultPool.
Free
(builder);
Completion\CompletionService_GetCompletions.cs (2)
372
s_sortListPool.
Free
(list);
379
s_uniqueSourcesPool.
Free
(_displayNameToItemsMap);
EmbeddedLanguages\Json\LanguageServices\JsonClassifier.cs (1)
67
s_visitorPool.
Free
(visitor);
EmbeddedLanguages\RegularExpressions\LanguageServices\RegexClassifier.cs (1)
68
s_visitorPool.
Free
(visitor);
UseCollectionInitializerAnalyzer.cs (1)
54
s_pool.
Free
(analyzer);
UseNamedMemberInitializerAnalyzer.cs (1)
50
s_pool.
Free
(analyzer);
Wrapping\ChainedExpression\AbstractChainedExpressionWrapper.cs (1)
306
SharedPools.Default<Stack<SyntaxNodeOrToken>>().
Free
(stack);
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
Simplification\Reducers\AbstractVisualBasicReducer.AbstractReductionRewriter.vb (1)
49
_pool.
Free
(Me)
Microsoft.CodeAnalysis.Workspaces (40)
Differencing\LongestCommonSubsequence.cs (1)
167
_bufferPool.
Free
(_firstBuffer);
Extensions.cs (10)
44
=> new(pool, p => p.Allocate(), (p, o) => p.
Free
(o));
109
pool.
Free
(sb);
127
pool.
Free
(set);
143
pool.
Free
(set);
161
pool.
Free
(set);
177
pool.
Free
(stack);
195
pool.
Free
(set);
214
pool.
Free
(map);
231
pool.
Free
(map);
248
pool.
Free
(list);
FindSymbols\FindReferences\FindReferencesSearchEngine.cs (1)
226
s_metadataUnifyingSymbolHashSetPool.
Free
(symbols);
FindSymbols\SymbolTree\SymbolTreeInfo_Metadata.cs (1)
813
s_pool.
Free
(node);
J\s\src\Dependencies\PooledObjects\ArrayBuilder.cs\ArrayBuilder.cs (1)
378
pool.
Free
(this);
J\s\src\Dependencies\PooledObjects\PooledDictionary.cs\PooledDictionary.cs (1)
36
_pool?.
Free
(this);
J\s\src\Dependencies\PooledObjects\PooledHashSet.cs\PooledHashSet.cs (1)
25
_pool?.
Free
(this);
J\s\src\Dependencies\PooledObjects\PooledStringBuilder.cs\PooledStringBuilder.cs (1)
42
_pool.
Free
(this);
Log\KeyValueLogMessage.cs (1)
156
s_pool.
Free
(this);
Logger.LogBlock.cs (1)
80
_pool.
Free
(this);
LogMessage.cs (6)
83
s_pool.
Free
(this);
113
s_pool.
Free
(this);
146
s_pool.
Free
(this);
182
s_pool.
Free
(this);
221
s_pool.
Free
(this);
263
s_pool.
Free
(this);
ObjectReader.cs (1)
333
s_objectListPool.
Free
(_values);
ObjectWriter.cs (1)
421
pool.
Free
(_valueToIdMap);
OrderPreservingMultiDictionary.cs (1)
50
_pool?.
Free
(this);
PooledDelegates.cs (1)
362
DefaultDelegatePool<TSelf>.Instance.
Free
((TSelf)this);
SerializableBytes.cs (3)
88
SharedPools.ByteArray.
Free
(chunks[c]);
280
SharedPools.ByteArray.
Free
(chunk);
360
SharedPools.ByteArray.
Free
(chunks[i]);
Shared\Extensions\SourceTextExtensions.cs (1)
222
SharedPools.CharArray.
Free
(buffer);
Shared\Utilities\XmlFragmentParser.cs (1)
48
s_pool.
Free
(instance);
StringTable.cs (1)
109
_pool?.
Free
(this);
SymbolKey.SymbolKeyReader.cs (1)
353
s_readerPool.
Free
(this);
SymbolKey.SymbolKeyWriter.cs (1)
94
s_writerPool.
Free
(this);
SymbolUsageAnalysis.BasicBlockAnalysisData.cs (1)
40
s_pool.
Free
(this);
SymbolUsageAnalysis.Walker.cs (1)
48
s_visitorPool.
Free
(visitor);
TemporaryStorage\TemporaryStorageServiceFactory.cs (1)
405
SharedPools.ByteArray.
Free
(buffer);
Microsoft.VisualStudio.LanguageServices (2)
InheritanceMargin\InheritanceMarginHelpers.cs (1)
122
s_pool.
Free
(nameToTargets);
ProjectSystem\MetadataReferences\VisualStudioMetadataReferenceManager.cs (1)
248
SharedPools.ByteArray.
Free
(buffer);