118 references to Free
Microsoft.CodeAnalysis.CSharp (118)
Binder\Binder_Crefs.cs (2)
912
unusedDiagnostics.
Free
();
998
localDiagnostics.
Free
();
Binder\Binder_Expressions.cs (8)
2919
bag2.
Free
();
2924
bag.
Free
();
6403
d.
Free
();
6505
source.
Free
();
7487
typeDiagnostics.
Free
();
8389
diagnostics.
Free
();
9472
attemptDiagnostics.
Free
();
9489
attemptDiagnostics.
Free
();
Binder\Binder_Initializers.cs (1)
38
diagsForInstanceInitializers.
Free
();
Binder\Binder_InterpolatedString.cs (5)
708
conversionDiagnostics.
Free
();
751
outConstructorDiagnostics.
Free
();
772
nonOutConstructorDiagnostics.
Free
();
777
outConstructorDiagnostics.
Free
();
846
source.
Free
();
Binder\Binder_Invocation.cs (2)
1025
firstFailed.
Free
();
1028
candidateDiagnostics.
Free
();
Binder\Binder_Operators.cs (3)
669
conversionDiagnostics.
Free
();
3246
isTypeDiagnostics.
Free
();
3256
isPatternDiagnostics.
Free
();
Binder\Binder_Patterns.cs (2)
1009
deconstructDiagnostics.
Free
();
1405
deconstructDiagnostics.
Free
();
Binder\Binder_Query.cs (1)
294
d.
Free
();
Binder\Binder_Statements.cs (3)
1283
additionalDiagnostics.
Free
();
1295
additionalDiagnostics.
Free
();
4171
bindingDiagnostics.
Free
();
Binder\Binder_Symbols.cs (5)
250
resultDiagnostics.
Free
();
256
resultDiagnostics.
Free
();
762
bag.
Free
();
1058
bag.
Free
();
1446
discarded?.
Free
();
Binder\EarlyWellKnownAttributeBinder.cs (1)
35
dummyDiagnosticBag.
Free
();
Binder\ForEachLoopBinder.cs (2)
518
createConversionDiagnostics.
Free
();
893
enumeratorInfoDiagnostics.
Free
();
Binder\UsingStatementBinder.cs (1)
234
patternDiagnostics.
Free
();
BoundTree\VariablePendingInference.cs (1)
98
inferenceDiagnostics.
Free
();
Compilation\CSharpCompilation.cs (8)
2036
perCandidateBag.
Free
();
2141
noMainFoundDiagnostics.
Free
();
2616
bag.
Free
();
2704
bindingDiagnostics.
Free
();
2911
builder.
Free
();
3132
discarded.
Free
();
3519
methodBodyDiagnosticBag.
Free
();
3696
xmlDiagnostics.
Free
();
Compilation\CSharpCompilation.UsingsFromOptionsAndDiagnostics.cs (2)
67
directiveDiagnostics.
Free
();
164
diagnostics.
Free
();
Compiler\DocumentationCommentCompiler.IncludeElementExpander.cs (2)
521
crefDiagnostics.
Free
();
542
nameDiagnostics.
Free
();
Compiler\MethodCompiler.cs (4)
785
diagnosticsThisMethod.
Free
();
859
discardedDiagnostics.
Free
();
1356
diagsForCurrentMethod.
Free
();
1646
diagnosticsForThisMethod.
Free
();
Emitter\Model\PEModuleBuilder.cs (1)
2075
bindingDiagnostics.
Free
();
FlowAnalysis\NullableWalker.cs (4)
8450
diagnostics.
Free
();
8652
diagnostics.
Free
();
8708
diagnostics.
Free
();
8723
diagnostics.
Free
();
Lowering\AsyncRewriter\AsyncRewriter.cs (1)
120
bag.
Free
();
Lowering\IteratorRewriter\IteratorRewriter.cs (1)
135
bag.
Free
();
Symbols\AliasSymbol.cs (1)
337
newDiagnostics.
Free
();
Symbols\Compilation_UsedAssemblies.cs (1)
88
diagnostics.
Free
();
Symbols\ConstraintsHelper.cs (1)
514
diagnostics.
Free
();
Symbols\Source\GlobalExpressionVariable.cs (1)
119
diagnostics.
Free
();
Symbols\Source\LambdaSymbol.cs (1)
302
diagnostics.
Free
();
Symbols\Source\LocalFunctionSymbol.cs (6)
88
diagnostics.
Free
();
216
diagnostics.
Free
();
222
diagnostics.
Free
();
294
diagnostics.
Free
();
300
diagnostics.
Free
();
493
diagnostics.
Free
();
Symbols\Source\SourceAssemblySymbol.cs (3)
925
diagnostics.
Free
();
1050
diagnostics.
Free
();
1452
diagnostics.
Free
();
Symbols\Source\SourceComplexParameterSymbol.cs (3)
282
diagnostics.
Free
();
354
diagnostics.
Free
();
1546
diagnostics.
Free
();
Symbols\Source\SourceFieldLikeEventSymbol.cs (1)
126
declaratorDiagnostics.
Free
();
Symbols\Source\SourceFieldSymbol.cs (2)
317
diagnostics.
Free
();
342
diagnostics.
Free
();
Symbols\Source\SourceFixedFieldSymbol.cs (1)
133
diagnostics.
Free
();
Symbols\Source\SourceMemberContainerSymbol.cs (12)
564
diagnostics.
Free
();
576
diagnostics.
Free
();
625
diagnostics.
Free
();
675
diagnostics.
Free
();
1312
diagnostics.
Free
();
1661
diagnostics.
Free
();
1666
diagnostics.
Free
();
1768
diagnostics.
Free
();
2361
diagnostics.
Free
();
3225
diagnostics.
Free
();
3230
diagnostics.
Free
();
3289
diagnostics.
Free
();
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
66
diagnostics.
Free
();
Symbols\Source\SourceMemberFieldSymbol.cs (2)
605
diagnostics.
Free
();
606
diagnosticsForFirstDeclarator.
Free
();
Symbols\Source\SourceMemberMethodSymbol.cs (1)
458
diagnostics.
Free
();
Symbols\Source\SourceModuleSymbol.cs (2)
207
diagnostics.
Free
();
259
diagnostics.
Free
();
Symbols\Source\SourceNamedTypeSymbol.cs (2)
284
diagnostics.
Free
();
757
diagnostics.
Free
();
Symbols\Source\SourceNamedTypeSymbol_Bases.cs (3)
55
diagnostics.
Free
();
81
diagnostics.
Free
();
264
diagnostics.
Free
();
Symbols\Source\SourceNamedTypeSymbol_Enum.cs (1)
37
diagnostics.
Free
();
Symbols\Source\SourceNamespaceSymbol.AliasesAndUsings.cs (2)
843
directiveDiagnostics.
Free
();
1064
diagnostics.
Free
();
Symbols\Source\SourceNamespaceSymbol.cs (1)
242
diagnostics.
Free
();
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
1052
diagnostics.
Free
();
Symbols\Source\SourceOrdinaryMethodSymbolBase.cs (1)
56
diagnostics.
Free
();
Symbols\Source\SourcePropertySymbolBase.cs (3)
399
diagnostics.
Free
();
1768
diagnostics.
Free
();
1806
diagnostics.
Free
();
Symbols\Source\SourceTypeParameterSymbol.cs (1)
240
diagnostics.
Free
();
Symbols\Symbol_Attributes.cs (4)
368
diagnostics.
Free
(); //NOTE: dropped.
388
diagnostics.
Free
(); //NOTE: dropped.
439
diagnostics.
Free
();
522
diagnostics.
Free
();