119 references to Free
Microsoft.CodeAnalysis (119)
CodeGen\ILBuilder.cs (6)
229this.SeqPointsOpt.Free(); 235_allocatedILMarkers.Free(); 268reachableBlocks.Free(); 489blockBuilder.Free(); 935blockBuilder.Free(); 1010seqPoints.Free();
CodeGen\LocalScopeManager.cs (1)
824scopes.Free();
CodeGen\SwitchIntegralJumpTableEmitter.cs (1)
247switchBucketsStack.Free();
Collections\ArrayBuilderExtensions.cs (2)
251builder.Free(); 264builder.Free();
Collections\ImmutableArrayExtensions.cs (1)
834builder.Free();
Collections\OrderPreservingMultiDictionary.cs (1)
204arrayBuilder?.Free();
Collections\TemporaryArray`1.cs (1)
153Interlocked.Exchange(ref _builder, null)?.Free();
Collections\TopologicalSort.cs (3)
89ready.Free(); 90resultBuilder.Free(); 140toCount.Free();
CommandLine\AnalyzerConfig.SectionNameMatching.cs (1)
112numberRangePairs.Free();
CommandLine\CommandLineArguments.cs (1)
555resolvedReferencesList.Free();
CommandLine\CommandLineParser.cs (5)
258parts.Free(); 578args.Free(); 862parts.Free(); 1166pathBuilder.Free(); 1177builder.Free();
CommandLine\CommonCompiler.cs (3)
340configs.Free(); 1208analyzerOptionsBuilder?.Free(); 1209embeddedTextBuilder.Free();
Compilation\Compilation.cs (1)
3500builder.Free();
DiagnosticAnalyzer\AnalyzerAssemblyLoader.Core.cs (1)
123contexts.Free();
DiagnosticAnalyzer\AnalyzerDriver.cs (6)
1118tasks.Free(); 1343declarationInfoBuilder.Free(); 1480actionsByKindBuilder.Free(); 1881completedAnalyzers.Free(); 2637filteredNodesToAnalyze.Free(); 2712executableCodeBlockActionsBuilder.Free();
DiagnosticAnalyzer\AnalyzerDriver.DeclarationAnalysisData.cs (1)
53DescendantNodesToAnalyze.Free();
DiagnosticAnalyzer\AnalyzerExecutor.cs (1)
863executableNodeActions.Free();
DiagnosticAnalyzer\AnalyzerFileReference.cs (2)
644builder.Free(); 666builder.Free();
DiagnosticAnalyzer\SuppressMessageAttributeState.TargetSymbolResolver.cs (4)
330builder.Free(); 353builder.Free(); 667builder.Free(); 689builder.Free();
Emit\EditAndContinue\DeltaMetadataWriter.cs (6)
716implementingMethods.Free(); 902encInfos.Free(); 1079_customAttributeRowIds.Free(); 1080paramEncMapRows.Free(); 1315tokens.Free(); 1333debugTokens.Free();
FileSystem\PathUtilities.cs (1)
872resolvedParts.Free();
MetadataReader\MetadataDecoder.cs (2)
900offsets.Free(); 901locals.Free();
MetadataReader\MetadataReaderExtensions.cs (1)
83result.Free();
MetadataReader\PEModule.cs (1)
405builder.Free();
MetadataReference\AssemblyIdentity.DisplayName.cs (1)
717bytes.Free();
NativePdbWriter\PdbWriter.cs (2)
411nestedNamesReversed.Free(); 499scopeStack.Free();
Operations\ControlFlowGraphBuilder.BasicBlockBuilder.cs (1)
308_statements?.Free();
Operations\ControlFlowGraphBuilder.ConditionalAccessOperationTracker.cs (1)
40Operations?.Free();
Operations\ControlFlowGraphBuilder.cs (13)
163builder._evalStack.Free(); 310toVisit.Free(); 1007fromCurrent?.Free(); 1008fromDestination?.Free(); 1009fromPredecessor?.Free(); 1010predecessorsBuilder?.Free(); 2237stack.Free(); 2836stack.Free(); 2846stack.Free(); 3745predecessors.Free(); 6889appendCalls.Free(); 6930stack.Free(); 7590stack.Free();
Operations\ControlFlowGraphBuilder.RegionBuilder.cs (3)
288Regions?.Free(); 290LocalFunctions?.Free(); 292CaptureIds?.Free();
Operations\OperationExtensions.cs (1)
121stack.Free();
PEWriter\CustomDebugInfoWriter.cs (3)
242dynamicLocals.Free(); 259locals.Free(); 283usingCounts.Free();
PEWriter\MetadataWriter.cs (1)
3924consolidatedTypeArguments.Free();
PEWriter\TypeNameSerializer.cs (2)
115consolidatedTypeArguments.Free(); 300namesReversed.Free();
ReferenceManager\CommonReferenceManager.Binding.cs (6)
204referenceBindings.Free(); 382implicitAssemblies.Free(); 383referenceBindingsToProcess.Free(); 384metadataReferencesBuilder.Free(); 1036corLibraryCandidates.Free(); 1043corLibraryCandidates.Free();
ReferenceManager\CommonReferenceManager.Resolution.cs (1)
861referencesBuilder.Free();
ReferenceManager\CommonReferenceManager.State.cs (1)
672assemblyIndicesToProcess.Free();
SourceGeneration\AdditionalSourcesCollection.cs (1)
140internal void Free() => _sourcesAdded.Free();
SourceGeneration\GeneratorDriver.cs (2)
80trees.Free(); 307constantSourcesBuilder.Free();
SourceGeneration\Nodes\NodeStateTable.cs (2)
524_states.Free(); 541_states.Free();
SourceGeneration\Nodes\SyntaxValueProvider_ForAttributeWithMetadataName.cs (1)
131result.Free();
SourceGeneration\Nodes\SyntaxValueProvider_ForAttributeWithSimpleName.cs (2)
183localAliases.Free(); 186attributeTargets.Free();
SourceGeneration\SyntaxStore.cs (1)
133syntaxInputBuilders.Free();
src\Dependencies\CodeAnalysis.Debugging\CustomDebugInfoReader.cs (2)
292flagsBuilder.Free(); 468groupBuilder.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();
SymbolDisplay\AbstractSymbolDisplayVisitor.cs (3)
225allFieldsAndValues.Free(); 226usedFieldsAndValues.Free(); 354enumFields.Free();
Syntax\GreenNode.cs (1)
640stack.Free();
Syntax\GreenNode.NodeEnumerable.cs (1)
37=> _stack.Free();
Syntax\GreenNodeExtensions.cs (3)
27newAnnotations.Free(); 66newAnnotations.Free(); 106removalAnnotations.Free();
Syntax\SyntaxNode.cs (1)
496stack.Free();
Syntax\SyntaxNode.Iterators.cs (3)
274_discriminatorStack?.Free(); 385_tokenStack?.Free(); 386_discriminatorStack?.Free();
Text\CompositeText.cs (1)
113newSegments.Free();
Text\SourceText.cs (2)
837segments.Free(); 838changeRanges.Free();