14 references to OnErrorStatementKind
Microsoft.CodeAnalysis.VisualBasic (14)
Binding\Binder_Statements.vb (4)
517
If node.OnErrorKind =
OnErrorStatementKind
.ResumeNext Then
5257
Return New BoundOnErrorStatement(node,
OnErrorStatementKind
.GoToMinusOne, Nothing, Nothing)
5260
Return New BoundOnErrorStatement(node,
OnErrorStatementKind
.GoToZero, Nothing, Nothing)
5263
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)
8358
Public Sub New(syntax As SyntaxNode, onErrorKind As
OnErrorStatementKind
, labelOpt As LabelSymbol, labelExpressionOpt As BoundExpression, Optional hasErrors As Boolean = False)
8371
Private ReadOnly _OnErrorKind As
OnErrorStatementKind
8372
Public ReadOnly Property OnErrorKind As
OnErrorStatementKind
8397
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)