30 references to AccumulatesDiagnostics
Microsoft.CodeAnalysis (1)
Binding\BindingDiagnosticBag.cs (1)
112
Debug.Assert(allowMismatchInDependencyAccumulation || other.Dependencies.IsDefaultOrEmpty || this.AccumulatesDependencies || !this.
AccumulatesDiagnostics
);
Microsoft.CodeAnalysis.CSharp (6)
Binder\Binder_Expressions.cs (1)
2697
if (bag2.
AccumulatesDiagnostics
&& bag.HasAnyErrors() && !bag2.HasAnyErrors())
Binder\Binder_InterpolatedString.cs (1)
518
else if (!Compilation.IsFeatureEnabled(MessageID.IDS_FeatureImprovedInterpolatedStrings) && diagnostics.
AccumulatesDiagnostics
)
Binder\BindingDiagnosticBag.cs (2)
64
return GetInstance(template.
AccumulatesDiagnostics
, template.AccumulatesDependencies);
69
if (template.
AccumulatesDiagnostics
)
Binder\ForEachLoopBinder.cs (1)
481
if (createConversionDiagnostics.
AccumulatesDiagnostics
&& !createConversionDiagnostics.DiagnosticBag.IsEmptyWithoutResolution)
Compiler\MethodCompiler.cs (1)
1960
Debug.Assert(diagnostics.
AccumulatesDiagnostics
);
Microsoft.CodeAnalysis.VisualBasic (23)
Binding\Binder_Conversions.vb (1)
1024
Debug.Assert(Not diagnostics.
AccumulatesDiagnostics
OrElse diagnostics.HasAnyErrors())
Binding\Binder_Lambda.vb (1)
26
If (modifiers And asyncIterator) = asyncIterator AndAlso diagnostics.
AccumulatesDiagnostics
Then
Binding\Binder_Symbols.vb (1)
304
If diagBag.
AccumulatesDiagnostics
AndAlso typeSymbol.Kind = SymbolKind.NamedType AndAlso binder.SourceModule.AnyReferencedAssembliesAreLinked Then
Binding\BindingDiagnosticBag.vb (2)
51
Return GetInstance(withDiagnostics:=template.
AccumulatesDiagnostics
, withDependencies:=template.AccumulatesDependencies)
70
Return Create(withDiagnostics:=template.
AccumulatesDiagnostics
, withDependencies:=template.AccumulatesDependencies)
Compilation\DocumentationComments\DocumentationCommentCompiler.vb (1)
88
If diagnostics.
AccumulatesDiagnostics
Then
Compilation\MethodCompiler.vb (6)
95
Debug.Assert(diagnostics.
AccumulatesDiagnostics
)
223
Debug.Assert(diagnostics.
AccumulatesDiagnostics
)
295
Debug.Assert(diagnostics.
AccumulatesDiagnostics
)
1440
Debug.Assert(diagsForCurrentMethod.
AccumulatesDiagnostics
)
1573
Debug.Assert(diagnostics.
AccumulatesDiagnostics
)
1758
Debug.Assert(diagnostics.
AccumulatesDiagnostics
)
Compilation\VisualBasicCompilation.vb (1)
2137
Debug.Assert(builder.
AccumulatesDiagnostics
)
Lowering\LocalRewriter\LocalRewriter.vb (1)
129
Debug.Assert(diagnostics.
AccumulatesDiagnostics
)
Lowering\MethodToClassRewriter\MethodToClassRewriter.vb (1)
75
Debug.Assert(diagnostics.
AccumulatesDiagnostics
)
Lowering\Rewriter.vb (2)
38
Debug.Assert(diagnostics.
AccumulatesDiagnostics
)
46
Debug.Assert(localDiagnostics.
AccumulatesDiagnostics
)
Lowering\StateMachineRewriter\StateMachineRewriter.vb (1)
51
Debug.Assert(diagnostics.
AccumulatesDiagnostics
)
Symbols\Source\SourceMemberContainerTypeSymbol.vb (1)
2532
Debug.Assert(diagBag.
AccumulatesDiagnostics
)
Symbols\Source\SourceMemberFieldSymbol.vb (1)
399
Debug.Assert(diagBag.
AccumulatesDiagnostics
)
Symbols\Source\SourceModuleSymbol.vb (1)
864
(Not diagBag.
AccumulatesDiagnostics
OrElse HasAllLazyDiagnostics(diagBag.DiagnosticBag))
Symbols\Source\SourceNamedTypeSymbol.vb (1)
234
Debug.Assert(diagBag.
AccumulatesDiagnostics
)
Symbols\UsedAssemblies.vb (1)
46
RoslynDebug.Assert(diagnostics.
AccumulatesDiagnostics
)