118 references to Free
Microsoft.CodeAnalysis.CSharp (118)
Binder\Binder_Crefs.cs (2)
912unusedDiagnostics.Free(); 998localDiagnostics.Free();
Binder\Binder_Expressions.cs (8)
2922bag2.Free(); 2927bag.Free(); 6406d.Free(); 6508source.Free(); 7488typeDiagnostics.Free(); 8390diagnostics.Free(); 9473attemptDiagnostics.Free(); 9490attemptDiagnostics.Free();
Binder\Binder_Initializers.cs (1)
38diagsForInstanceInitializers.Free();
Binder\Binder_InterpolatedString.cs (5)
708conversionDiagnostics.Free(); 751outConstructorDiagnostics.Free(); 772nonOutConstructorDiagnostics.Free(); 777outConstructorDiagnostics.Free(); 846source.Free();
Binder\Binder_Invocation.cs (2)
1025firstFailed.Free(); 1028candidateDiagnostics.Free();
Binder\Binder_Operators.cs (3)
669conversionDiagnostics.Free(); 3251isTypeDiagnostics.Free(); 3261isPatternDiagnostics.Free();
Binder\Binder_Patterns.cs (2)
1009deconstructDiagnostics.Free(); 1405deconstructDiagnostics.Free();
Binder\Binder_Query.cs (1)
294d.Free();
Binder\Binder_Statements.cs (3)
1283additionalDiagnostics.Free(); 1295additionalDiagnostics.Free(); 4171bindingDiagnostics.Free();
Binder\Binder_Symbols.cs (5)
250resultDiagnostics.Free(); 256resultDiagnostics.Free(); 762bag.Free(); 1058bag.Free(); 1464discarded?.Free();
Binder\EarlyWellKnownAttributeBinder.cs (1)
35dummyDiagnosticBag.Free();
Binder\ForEachLoopBinder.cs (2)
518createConversionDiagnostics.Free(); 893enumeratorInfoDiagnostics.Free();
Binder\UsingStatementBinder.cs (1)
234patternDiagnostics.Free();
BoundTree\VariablePendingInference.cs (1)
98inferenceDiagnostics.Free();
Compilation\CSharpCompilation.cs (8)
2041perCandidateBag.Free(); 2146noMainFoundDiagnostics.Free(); 2641bag.Free(); 2729bindingDiagnostics.Free(); 2936builder.Free(); 3157discarded.Free(); 3544methodBodyDiagnosticBag.Free(); 3721xmlDiagnostics.Free();
Compilation\CSharpCompilation.UsingsFromOptionsAndDiagnostics.cs (2)
67directiveDiagnostics.Free(); 164diagnostics.Free();
Compiler\DocumentationCommentCompiler.IncludeElementExpander.cs (2)
521crefDiagnostics.Free(); 542nameDiagnostics.Free();
Compiler\MethodCompiler.cs (4)
785diagnosticsThisMethod.Free(); 859discardedDiagnostics.Free(); 1356diagsForCurrentMethod.Free(); 1646diagnosticsForThisMethod.Free();
Emitter\Model\PEModuleBuilder.cs (1)
2075bindingDiagnostics.Free();
FlowAnalysis\NullableWalker.cs (4)
8508diagnostics.Free(); 8710diagnostics.Free(); 8766diagnostics.Free(); 8781diagnostics.Free();
Lowering\AsyncRewriter\AsyncRewriter.cs (1)
120bag.Free();
Lowering\IteratorRewriter\IteratorRewriter.cs (1)
135bag.Free();
Symbols\AliasSymbol.cs (1)
337newDiagnostics.Free();
Symbols\Compilation_UsedAssemblies.cs (1)
88diagnostics.Free();
Symbols\ConstraintsHelper.cs (1)
514diagnostics.Free();
Symbols\Source\GlobalExpressionVariable.cs (1)
119diagnostics.Free();
Symbols\Source\LambdaSymbol.cs (1)
302diagnostics.Free();
Symbols\Source\LocalFunctionSymbol.cs (6)
89diagnostics.Free(); 217diagnostics.Free(); 223diagnostics.Free(); 295diagnostics.Free(); 301diagnostics.Free(); 494diagnostics.Free();
Symbols\Source\SourceAssemblySymbol.cs (3)
925diagnostics.Free(); 1050diagnostics.Free(); 1452diagnostics.Free();
Symbols\Source\SourceComplexParameterSymbol.cs (3)
283diagnostics.Free(); 355diagnostics.Free(); 1552diagnostics.Free();
Symbols\Source\SourceFieldLikeEventSymbol.cs (1)
126declaratorDiagnostics.Free();
Symbols\Source\SourceFieldSymbol.cs (2)
317diagnostics.Free(); 342diagnostics.Free();
Symbols\Source\SourceFixedFieldSymbol.cs (1)
133diagnostics.Free();
Symbols\Source\SourceMemberContainerSymbol.cs (12)
564diagnostics.Free(); 576diagnostics.Free(); 625diagnostics.Free(); 675diagnostics.Free(); 1312diagnostics.Free(); 1661diagnostics.Free(); 1666diagnostics.Free(); 1768diagnostics.Free(); 2361diagnostics.Free(); 3239diagnostics.Free(); 3244diagnostics.Free(); 3303diagnostics.Free();
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (1)
66diagnostics.Free();
Symbols\Source\SourceMemberFieldSymbol.cs (2)
605diagnostics.Free(); 606diagnosticsForFirstDeclarator.Free();
Symbols\Source\SourceMemberMethodSymbol.cs (1)
458diagnostics.Free();
Symbols\Source\SourceModuleSymbol.cs (2)
207diagnostics.Free(); 259diagnostics.Free();
Symbols\Source\SourceNamedTypeSymbol.cs (2)
284diagnostics.Free(); 757diagnostics.Free();
Symbols\Source\SourceNamedTypeSymbol_Bases.cs (3)
55diagnostics.Free(); 81diagnostics.Free(); 264diagnostics.Free();
Symbols\Source\SourceNamedTypeSymbol_Enum.cs (1)
37diagnostics.Free();
Symbols\Source\SourceNamespaceSymbol.AliasesAndUsings.cs (2)
843directiveDiagnostics.Free(); 1064diagnostics.Free();
Symbols\Source\SourceNamespaceSymbol.cs (1)
242diagnostics.Free();
Symbols\Source\SourceOrdinaryMethodSymbol.cs (1)
1052diagnostics.Free();
Symbols\Source\SourceOrdinaryMethodSymbolBase.cs (1)
56diagnostics.Free();
Symbols\Source\SourcePropertySymbolBase.cs (3)
399diagnostics.Free(); 1773diagnostics.Free(); 1811diagnostics.Free();
Symbols\Source\SourceTypeParameterSymbol.cs (1)
240diagnostics.Free();
Symbols\Symbol_Attributes.cs (4)
368diagnostics.Free(); //NOTE: dropped. 388diagnostics.Free(); //NOTE: dropped. 439diagnostics.Free(); 522diagnostics.Free();