118 references to Free
Microsoft.CodeAnalysis.CSharp (118)
Binder\Binder_Crefs.cs (2)
912
unusedDiagnostics.
Free
();
998
localDiagnostics.
Free
();
Binder\Binder_Expressions.cs (8)
2922
bag2.
Free
();
2927
bag.
Free
();
6406
d.
Free
();
6508
source.
Free
();
7488
typeDiagnostics.
Free
();
8390
diagnostics.
Free
();
9473
attemptDiagnostics.
Free
();
9490
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
();
3251
isTypeDiagnostics.
Free
();
3261
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
();
1464
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)
2041
perCandidateBag.
Free
();
2146
noMainFoundDiagnostics.
Free
();
2641
bag.
Free
();
2729
bindingDiagnostics.
Free
();
2936
builder.
Free
();
3157
discarded.
Free
();
3544
methodBodyDiagnosticBag.
Free
();
3721
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)
8508
diagnostics.
Free
();
8710
diagnostics.
Free
();
8766
diagnostics.
Free
();
8781
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)
89
diagnostics.
Free
();
217
diagnostics.
Free
();
223
diagnostics.
Free
();
295
diagnostics.
Free
();
301
diagnostics.
Free
();
494
diagnostics.
Free
();
Symbols\Source\SourceAssemblySymbol.cs (3)
925
diagnostics.
Free
();
1050
diagnostics.
Free
();
1452
diagnostics.
Free
();
Symbols\Source\SourceComplexParameterSymbol.cs (3)
283
diagnostics.
Free
();
355
diagnostics.
Free
();
1552
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
();
3239
diagnostics.
Free
();
3244
diagnostics.
Free
();
3303
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
();
1773
diagnostics.
Free
();
1811
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
();