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