1 write to Diagnostics
Microsoft.CodeAnalysis.VisualBasic (1)
Lowering\MethodToClassRewriter\MethodToClassRewriter.vb (1)
77
Me.
Diagnostics
= diagnostics
12 references to Diagnostics
Microsoft.CodeAnalysis.VisualBasic (12)
Lowering\LambdaRewriter\LambdaRewriter.vb (12)
256
CompilationState.AddSynthesizedMethod(frame.Constructor, MakeFrameCtor(frame,
Diagnostics
), stateMachineType:=Nothing, ImmutableArray(Of StateMachineStateDebugInfo).Empty)
923
Dim slotAllocatorOpt = CompilationState.ModuleBuilderOpt.TryCreateVariableSlotAllocator(method, method.TopLevelMethod,
Diagnostics
.DiagnosticBag)
924
Return Rewriter.RewriteIteratorAndAsync(loweredBody, method, methodOrdinal, CompilationState,
Diagnostics
, stateMachineStateDebugInfosBuilder, slotAllocatorOpt, stateMachineType)
1076
rewrittenNode = ExpressionLambdaRewriter.RewriteLambda(node, Me._currentMethod, delegateType, Me.CompilationState, Me.TypeMap, Me.
Diagnostics
, Me._rewrittenNodes, Me.RecursionDepth)
1095
containerFrame = GetStaticFrame(node,
Diagnostics
)
1118
Dim synthesizedMethod = New SynthesizedLambdaMethod(translatedLambdaContainer, closureKind, _topLevelMethod, topLevelMethodId, node, lambdaId, Me.
Diagnostics
)
1241
Dim F = New SyntheticBoundNodeFactory(Me._topLevelMethod, Me._currentMethod, node.Syntax, CompilationState,
Diagnostics
)
1387
Me.
Diagnostics
.Add(ERRID.ERR_CannotUseOnErrorGotoWithClosure, resumeLabel.ResumeStatement.GetLocation(),
1393
Me.
Diagnostics
.Add(ERRID.ERR_CannotGotoNonScopeBlocksWithClosure, node.Syntax.GetLocation(),
1396
Me.
Diagnostics
.Add(ERRID.ERR_CannotGotoNonScopeBlocksWithClosure, node.Syntax.GetLocation(), "Goto ", label.Name, label.Name)
1464
Dim useSiteInfo As New CompoundUseSiteInfo(Of AssemblySymbol)(
Diagnostics
, CompilationState.Compilation.Assembly)
1471
Diagnostics
.Add(node, useSiteInfo)