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)
246
CompilationState.AddSynthesizedMethod(frame.Constructor, MakeFrameCtor(frame,
Diagnostics
), stateMachineType:=Nothing, ImmutableArray(Of StateMachineStateDebugInfo).Empty)
903
Dim slotAllocatorOpt = CompilationState.ModuleBuilderOpt.TryCreateVariableSlotAllocator(method, method.TopLevelMethod,
Diagnostics
.DiagnosticBag)
904
Return Rewriter.RewriteIteratorAndAsync(loweredBody, method, methodOrdinal, CompilationState,
Diagnostics
, stateMachineStateDebugInfosBuilder, slotAllocatorOpt, stateMachineType)
1032
rewrittenNode = ExpressionLambdaRewriter.RewriteLambda(node, Me._currentMethod, delegateType, Me.CompilationState, Me.TypeMap, Me.
Diagnostics
, Me._rewrittenNodes, Me.RecursionDepth)
1049
translatedLambdaContainer = GetStaticFrame(node,
Diagnostics
)
1070
Dim synthesizedMethod = New SynthesizedLambdaMethod(translatedLambdaContainer, closureKind, _topLevelMethod, topLevelMethodId, node, lambdaId, Me.
Diagnostics
)
1193
Dim F = New SyntheticBoundNodeFactory(Me._topLevelMethod, Me._currentMethod, node.Syntax, CompilationState,
Diagnostics
)
1339
Me.
Diagnostics
.Add(ERRID.ERR_CannotUseOnErrorGotoWithClosure, resumeLabel.ResumeStatement.GetLocation(),
1345
Me.
Diagnostics
.Add(ERRID.ERR_CannotGotoNonScopeBlocksWithClosure, node.Syntax.GetLocation(),
1348
Me.
Diagnostics
.Add(ERRID.ERR_CannotGotoNonScopeBlocksWithClosure, node.Syntax.GetLocation(), "Goto ", label.Name, label.Name)
1416
Dim useSiteInfo As New CompoundUseSiteInfo(Of AssemblySymbol)(
Diagnostics
, CompilationState.Compilation.Assembly)
1423
Diagnostics
.Add(node, useSiteInfo)