118 references to Free
Microsoft.CodeAnalysis.CSharp (118)
Binder\Binder_Crefs.cs (2)
912unusedDiagnostics.Free(); 998localDiagnostics.Free();
Binder\Binder_Expressions.cs (8)
2919bag2.Free(); 2924bag.Free(); 6403d.Free(); 6505source.Free(); 7487typeDiagnostics.Free(); 8389diagnostics.Free(); 9472attemptDiagnostics.Free(); 9489attemptDiagnostics.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(); 3246isTypeDiagnostics.Free(); 3256isPatternDiagnostics.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(); 1446discarded?.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)
2036perCandidateBag.Free(); 2141noMainFoundDiagnostics.Free(); 2616bag.Free(); 2704bindingDiagnostics.Free(); 2911builder.Free(); 3132discarded.Free(); 3519methodBodyDiagnosticBag.Free(); 3696xmlDiagnostics.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)
8450diagnostics.Free(); 8652diagnostics.Free(); 8708diagnostics.Free(); 8723diagnostics.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)
88diagnostics.Free(); 216diagnostics.Free(); 222diagnostics.Free(); 294diagnostics.Free(); 300diagnostics.Free(); 493diagnostics.Free();
Symbols\Source\SourceAssemblySymbol.cs (3)
925diagnostics.Free(); 1050diagnostics.Free(); 1452diagnostics.Free();
Symbols\Source\SourceComplexParameterSymbol.cs (3)
282diagnostics.Free(); 354diagnostics.Free(); 1546diagnostics.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(); 3225diagnostics.Free(); 3230diagnostics.Free(); 3289diagnostics.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(); 1768diagnostics.Free(); 1806diagnostics.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();