Implemented interface member:
method
Free
Microsoft.CodeAnalysis.PooledObjects.IPooled.Free()
21 references to Free
Microsoft.CodeAnalysis.Workspaces (21)
FindSymbols\TopLevelSyntaxTree\TopLevelSyntaxTreeIndex_Create.cs (1)
38builder.Free();
LinkedFileDiffMerging\LinkedFileDiffMergingSession.cs (1)
86newDocumentsAndHashes.Free();
ObsoleteSymbol\AbstractObsoleteSymbolService.cs (1)
56result?.Free();
PatternMatching\CamelCaseResult.cs (1)
34=> MatchedSpansInReverse?.Free();
src\Compilers\Core\Portable\Collections\ArrayBuilderExtensions.cs (1)
251builder.Free();
src\Compilers\Core\Portable\Collections\ImmutableArrayExtensions.cs (1)
834builder.Free();
src\Compilers\Core\Portable\Collections\OrderPreservingMultiDictionary.cs (1)
204arrayBuilder?.Free();
src\Compilers\Core\Portable\Collections\TemporaryArray`1.cs (1)
153Interlocked.Exchange(ref _builder, null)?.Free();
src\Compilers\Core\Portable\DiagnosticAnalyzer\AnalyzerAssemblyLoader.Core.cs (1)
123contexts.Free();
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
872resolvedParts.Free();
src\Dependencies\PooledObjects\ArrayBuilder.cs (4)
21/// See <see cref="Free()"/> for an explanation of this constant value. 386this.Free(); 411this.Free(); 418this.Free();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (1)
61unreachableBlocksToVisit.Free();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\SymbolUsageAnalysis\SymbolUsageAnalysis.AnalysisData.cs (1)
256_allocatedBasicBlockAnalysisDatas.Free();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\SymbolKey\SymbolKey.PooledArrayBuilder.cs (1)
32public void Dispose() => Builder?.Free();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Utilities\PooledBuilderExtensions.cs (3)
62items.Free(); 85builder.Free(); 92builders.Free();
Workspace\ProjectSystem\ProjectSystemProject.BatchingDocumentCollection.cs (1)
435documentsToChange.Free();