14 references to OnErrorStatementKind
Microsoft.CodeAnalysis.VisualBasic (14)
Binding\Binder_Statements.vb (4)
548
If node.OnErrorKind =
OnErrorStatementKind
.ResumeNext Then
5288
Return New BoundOnErrorStatement(node,
OnErrorStatementKind
.GoToMinusOne, Nothing, Nothing)
5291
Return New BoundOnErrorStatement(node,
OnErrorStatementKind
.GoToZero, Nothing, Nothing)
5294
Return New BoundOnErrorStatement(node,
OnErrorStatementKind
.ResumeNext, Nothing, Nothing)
BoundTree\BoundOnErrorStatement.vb (2)
21
Me.New(syntax,
OnErrorStatementKind
.GoToLabel, label, labelExpressionOpt, hasErrors)
27
Debug.Assert((Me.OnErrorKind =
OnErrorStatementKind
.GoToLabel) = Not (Me.LabelOpt Is Nothing AndAlso Me.LabelExpressionOpt Is Nothing))
Generated\BoundNodes.xml.Generated.vb (4)
8384
Public Sub New(syntax As SyntaxNode, onErrorKind As
OnErrorStatementKind
, labelOpt As LabelSymbol, labelExpressionOpt As BoundExpression, Optional hasErrors As Boolean = False)
8397
Private ReadOnly _OnErrorKind As
OnErrorStatementKind
8398
Public ReadOnly Property OnErrorKind As
OnErrorStatementKind
8423
Public Function Update(onErrorKind As
OnErrorStatementKind
, labelOpt As LabelSymbol, labelExpressionOpt As BoundExpression) As BoundOnErrorStatement
Lowering\LocalRewriter\LocalRewriter_UnstructuredExceptionHandling.vb (4)
344
Case
OnErrorStatementKind
.GoToMinusOne
352
Case
OnErrorStatementKind
.GoToLabel
356
Case
OnErrorStatementKind
.ResumeNext
366
Debug.Assert(node.OnErrorKind =
OnErrorStatementKind
.GoToZero)