13 references to AccumulatesDiagnostics
Microsoft.CodeAnalysis (1)
Binding\BindingDiagnosticBag.cs (1)
110
Debug.Assert(allowMismatchInDependencyAccumulation || other.Dependencies.IsDefaultOrEmpty || this.AccumulatesDependencies || !this.
AccumulatesDiagnostics
);
Microsoft.CodeAnalysis.CSharp (12)
Binder\Binder_Expressions.cs (2)
2975
if (bag2.
AccumulatesDiagnostics
&& bag.HasAnyErrors() && !bag2.HasAnyErrors())
9437
if (tryInlineArrayAccess && diagnostics.
AccumulatesDiagnostics
)
Binder\Binder_InterpolatedString.cs (1)
664
else if (!Compilation.IsFeatureEnabled(MessageID.IDS_FeatureImprovedInterpolatedStrings) && diagnostics.
AccumulatesDiagnostics
)
Binder\Binder_Operators.cs (1)
1050
diagnostics.
AccumulatesDiagnostics
;
Binder\Binder_Patterns.cs (1)
131
if (!wasReported && diagnostics.
AccumulatesDiagnostics
&& DecisionDagBuilder.EnableRedundantPatternsCheck(this.Compilation))
Binder\BindingDiagnosticBag.cs (1)
63
return GetInstance(template.
AccumulatesDiagnostics
, template.AccumulatesDependencies);
Binder\ForEachLoopBinder.cs (1)
516
if (createConversionDiagnostics.
AccumulatesDiagnostics
&& !createConversionDiagnostics.DiagnosticBag.IsEmptyWithoutResolution)
Binder\SwitchBinder_Patterns.cs (1)
61
if (!wasReported && diagnostics.
AccumulatesDiagnostics
&& DecisionDagBuilder.EnableRedundantPatternsCheck(this.Compilation))
Binder\SwitchExpressionBinder.cs (1)
42
if (!wasReported && diagnostics.
AccumulatesDiagnostics
&& DecisionDagBuilder.EnableRedundantPatternsCheck(this.Compilation))
Compiler\ClsComplianceChecker.cs (2)
75
var queue = diagnostics.AccumulatesDependencies ? BindingDiagnosticBag.GetConcurrentInstance() : BindingDiagnosticBag.GetInstance(withDiagnostics: diagnostics.
AccumulatesDiagnostics
, withDependencies: false);
80
if (diagnostics.
AccumulatesDiagnostics
)
Compiler\MethodCompiler.cs (1)
2066
Debug.Assert(diagnostics.
AccumulatesDiagnostics
);