10 references to AccumulatesDiagnostics
Microsoft.CodeAnalysis (1)
Binding\BindingDiagnosticBag.cs (1)
110
Debug.Assert(allowMismatchInDependencyAccumulation || other.Dependencies.IsDefaultOrEmpty || this.AccumulatesDependencies || !this.
AccumulatesDiagnostics
);
Microsoft.CodeAnalysis.CSharp (9)
Binder\Binder_Expressions.cs (2)
2963
if (bag2.
AccumulatesDiagnostics
&& bag.HasAnyErrors() && !bag2.HasAnyErrors())
9383
if (tryInlineArrayAccess && diagnostics.
AccumulatesDiagnostics
)
Binder\Binder_InterpolatedString.cs (1)
664
else if (!Compilation.IsFeatureEnabled(MessageID.IDS_FeatureImprovedInterpolatedStrings) && diagnostics.
AccumulatesDiagnostics
)
Binder\Binder_Operators.cs (1)
1043
diagnostics.
AccumulatesDiagnostics
;
Binder\BindingDiagnosticBag.cs (1)
63
return GetInstance(template.
AccumulatesDiagnostics
, template.AccumulatesDependencies);
Binder\ForEachLoopBinder.cs (1)
517
if (createConversionDiagnostics.
AccumulatesDiagnostics
&& !createConversionDiagnostics.DiagnosticBag.IsEmptyWithoutResolution)
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)
2033
Debug.Assert(diagnostics.
AccumulatesDiagnostics
);