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