51 references to Free
Microsoft.CodeAnalysis (14)
Binding\BindingDiagnosticBag.cs (1)
79DiagnosticBag?.Free();
CommandLine\CommonCompiler.cs (1)
1010diagnostics.Free();
Compilation\Compilation.cs (4)
1866incoming.Free(); 2662discardedDiagnostics.Free(); 3360pdbBag?.Free(); 3361metadataDiagnostics?.Free();
Diagnostic\DiagnosticBag.cs (2)
164bag.Free(); 174Free();
Emit\NoPia\CommonEmbeddedMember.cs (1)
104diagnostics.Free();
Emit\NoPia\CommonEmbeddedParameter.cs (1)
206diagnostics.Free();
Emit\NoPia\CommonEmbeddedType.cs (1)
546diagnostics.Free();
SourceGeneration\GeneratorContexts.cs (1)
117_diagnostics.Free();
SourceGeneration\IncrementalContexts.cs (1)
285Diagnostics.Free();
SourceGeneration\Nodes\SourceOutputNode.cs (1)
82diagnostics.Free();
Microsoft.CodeAnalysis.CSharp (28)
Binder\Binder_Statements.cs (1)
621ignored.Free();
BoundTree\UnboundLambda.cs (1)
155diagnostics.Free();
CodeGen\EmitStatement.cs (3)
1480diag.Free(); 1597diag.Free(); 1702assertDiagnostics.Free();
Compilation\MemberSemanticModel.cs (2)
2000diagnostics.Free(); 2006diagnostics.Free();
Compiler\DocumentationCommentCompiler.cs (1)
757diagnosticBag.Free();
Compiler\DocumentationCommentCompiler.IncludeElementExpander.cs (1)
428includeDiagnostics.Free();
Compiler\MethodCompiler.cs (1)
1020unusedDiagnostics.Free();
FlowAnalysis\AbstractFlowPass.cs (1)
455this.Diagnostics.Free();
FlowAnalysis\DefiniteAssignment.cs (4)
579strictDiagnostics.Free(); 589compatDiagnostics.Free(); 594compatDiagnostics.Free(); 630strictDiagnostics.Free();
FlowAnalysis\FlowAnalysisPass.cs (1)
96flowAnalysisDiagnostics.Free();
FlowAnalysis\NullableWalker.cs (1)
1541diagnosticsBag.Free();
FlowAnalysis\RegionReachableWalker.cs (1)
31diagnostics.Free();
Symbols\Compilation_WellKnownMembers.cs (1)
191warnings.Free();
Symbols\ReferenceManager.cs (1)
531resolutionDiagnostics.Free();
Symbols\Source\SourceNamespaceSymbol.AliasesAndUsings.cs (2)
393diagnostics?.Free(); 449diagnostics.Free();
Symbols\Synthesized\SynthesizedBackingFieldSymbol.cs (6)
186annotatedDiagnostics.Free(); 194annotatedDiagnostics.Free(); 195notAnnotatedDiagnostics.Free(); 201notAnnotatedDiagnostics.Free(); 209annotatedDiagnostics.Free(); 214annotatedDiagnostics.Free();
Microsoft.CodeAnalysis.CSharp.Scripting (1)
CSharpScriptCompiler.cs (1)
45diagnostics.Free();
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Semantics\OperatorTests.cs (2)
7335diagnostics.Free(); 8819diagnostics.Free();
Semantics\UnsafeTests.cs (1)
5207unusedDiagnostics.Free();
Microsoft.CodeAnalysis.CSharp.Test.Utilities (2)
CSharpTestBase.cs (2)
2333diagnostics.Free(); 2374diagnostics.Free();
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (2)
ExpressionCompiler.cs (2)
471otherDiagnostics.Free(); 486diagnostics.Free();
Microsoft.CodeAnalysis.Scripting (1)
ScriptBuilder.cs (1)
99diagnostics.Free();