1 write to Diagnostics
Microsoft.CodeAnalysis.VisualBasic (1)
Lowering\StateMachineRewriter\StateMachineRewriter.vb (1)
58Me.Diagnostics = diagnostics
19 references to Diagnostics
Microsoft.CodeAnalysis.VisualBasic (19)
Lowering\AsyncRewriter\AsyncRewriter.vb (12)
265diagnostics:=Diagnostics) 292diagnostics:=Me.Diagnostics, 309Dim bag = BindingDiagnosticBag.GetInstance(withDiagnostics:=True, withDependencies:=Me.Diagnostics.AccumulatesDependencies) 342Me.Diagnostics.AddRange(bag) 534diagnostics:=Me.Diagnostics, 547Dim useSiteInfo = Me._binder.GetNewCompoundUseSiteInfo(Me.Diagnostics) 549Me.Diagnostics.Add(Me.F.Syntax, useSiteInfo) 565Me.Diagnostics.Add(If(result.HasDiagnostic, 590diagnostics:=Me.Diagnostics, 606Dim useSiteInfo = Me._binder.GetNewCompoundUseSiteInfo(Me.Diagnostics) 608Me.Diagnostics.Add(Me.F.Syntax, useSiteInfo) 623Me.Diagnostics.Add(If(result.HasDiagnostic,
Lowering\IteratorRewriter\IteratorRewriter.vb (4)
95Dim bag = BindingDiagnosticBag.GetInstance(withDiagnostics:=True, withDependencies:=Me.Diagnostics.AccumulatesDependencies) 128Me.Diagnostics.AddRange(bag) 130Me.Diagnostics.AddDependencies(bag) 354diagnostics:=Diagnostics)
Lowering\StateMachineRewriter\StateMachineRewriter.vb (3)
110Dim variablesToHoist = IteratorAndAsyncCaptureWalker.Analyze(New FlowAnalysisInfo(F.CompilationState.Compilation, Me.Method, Me.Body), Me.Diagnostics.DiagnosticBag) 306F.CompilationState.ModuleBuilderOpt.Translate(fieldType, declaratorSyntax, Diagnostics.DiagnosticBag), 309Diagnostics.DiagnosticBag,