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