17 references to Free
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (17)
src\Compilers\Core\Portable\Collections\ArrayBuilderExtensions.cs (1)
21builder.Free();
src\Compilers\Core\Portable\Collections\OrderPreservingMultiDictionary.cs (1)
204arrayBuilder?.Free();
src\Compilers\Core\Portable\FileSystem\PathUtilities.cs (1)
872resolvedParts.Free();
src\Dependencies\Collections\Extensions\ImmutableArrayExtensions.cs (1)
1297builder.Free();
src\Dependencies\Collections\TemporaryArray`1.cs (1)
156Interlocked.Exchange(ref _builder, null)?.Free();
src\Dependencies\PooledObjects\ArrayBuilder.cs (6)
23/// See <see cref="Free()"/> for an explanation of this constant value. 407this.Free(); 432this.Free(); 439this.Free(); 449Free(); 970Free();
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (1)
60unreachableBlocksToVisit.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)
61items.Free(); 84builder.Free(); 91builders.Free();