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)
162diagnostics.Free();
CodeGen\EmitStatement.cs (3)
1507diag.Free(); 1624diag.Free(); 1729assertDiagnostics.Free();
Compilation\MemberSemanticModel.cs (2)
2038diagnostics.Free(); 2044diagnostics.Free();
Compiler\DocumentationCommentCompiler.cs (1)
860diagnosticBag.Free();
Compiler\DocumentationCommentCompiler.IncludeElementExpander.cs (1)
428includeDiagnostics.Free();
Compiler\MethodCompiler.cs (1)
1035unusedDiagnostics.Free();
FlowAnalysis\AbstractFlowPass.cs (1)
455this.Diagnostics.Free();
FlowAnalysis\DefiniteAssignment.cs (4)
530strictDiagnostics.Free(); 540compatDiagnostics.Free(); 545compatDiagnostics.Free(); 581strictDiagnostics.Free();
FlowAnalysis\FlowAnalysisPass.cs (1)
96flowAnalysisDiagnostics.Free();
FlowAnalysis\NullableWalker.cs (1)
1564diagnosticsBag.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)
194annotatedDiagnostics.Free(); 202annotatedDiagnostics.Free(); 203notAnnotatedDiagnostics.Free(); 209notAnnotatedDiagnostics.Free(); 217annotatedDiagnostics.Free(); 222annotatedDiagnostics.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)
2398diagnostics.Free(); 2439diagnostics.Free();
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (2)
ExpressionCompiler.cs (2)
471otherDiagnostics.Free(); 486diagnostics.Free();
Microsoft.CodeAnalysis.Scripting (1)
ScriptBuilder.cs (1)
99diagnostics.Free();