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