18 references to Label
Microsoft.CodeAnalysis.VisualBasic (10)
Binding\Binder_Statements.vb (2)
5269
Dim boundLabelExpression As BoundExpression = BindExpression(onError.
Label
, diagnostics)
5275
Return New BoundOnErrorStatement(node, symbol, boundLabel, hasErrors:=Not IsValidLabelForGoto(symbol, onError.
Label
, diagnostics))
Generated\Syntax.xml.Main.Generated.vb (2)
3182
Dim newLabel = DirectCast(Visit(node.
Label
), LabelSyntax)
3183
If node.
Label
IsNot newLabel Then anyChanges = True
Generated\Syntax.xml.Syntax.Generated.vb (6)
16398
return Update(Me.Kind, onKeyword, Me.ErrorKeyword, Me.GoToKeyword, Me.Minus, Me.
Label
)
16416
return Update(Me.Kind, Me.OnKeyword, errorKeyword, Me.GoToKeyword, Me.Minus, Me.
Label
)
16434
return Update(Me.Kind, Me.OnKeyword, Me.ErrorKeyword, goToKeyword, Me.Minus, Me.
Label
)
16458
return Update(Me.Kind, Me.OnKeyword, Me.ErrorKeyword, Me.GoToKeyword, minus, Me.
Label
)
16491
Return Me.
Label
16529
If kind <> Me.Kind OrElse onKeyword <> Me.OnKeyword OrElse errorKeyword <> Me.ErrorKeyword OrElse goToKeyword <> Me.GoToKeyword OrElse minus <> Me.Minus OrElse label IsNot Me.
Label
Then
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (1)
SyntaxTreeExtensions.vb (1)
291
If onErrorGotoStatement.
Label
.LabelToken = targetToken AndAlso targetToken.IntersectsWith(position) Then
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (6)
Generated\Syntax.Test.xml.Generated.vb (6)
19757
Assert.NotNull(objectUnderTest.
label
)
19758
Dim withObj = objectUnderTest.WithOnKeyword(objectUnderTest.OnKeyword).WithErrorKeyword(objectUnderTest.ErrorKeyword).WithGoToKeyword(objectUnderTest.GoToKeyword).WithMinus(objectUnderTest.Minus).WithLabel(objectUnderTest.
Label
)
19768
Assert.NotNull(objectUnderTest.
label
)
19769
Dim withObj = objectUnderTest.WithOnKeyword(objectUnderTest.OnKeyword).WithErrorKeyword(objectUnderTest.ErrorKeyword).WithGoToKeyword(objectUnderTest.GoToKeyword).WithMinus(objectUnderTest.Minus).WithLabel(objectUnderTest.
Label
)
19779
Assert.NotNull(objectUnderTest.
label
)
19780
Dim withObj = objectUnderTest.WithOnKeyword(objectUnderTest.OnKeyword).WithErrorKeyword(objectUnderTest.ErrorKeyword).WithGoToKeyword(objectUnderTest.GoToKeyword).WithMinus(objectUnderTest.Minus).WithLabel(objectUnderTest.
Label
)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\SyntaxTreeExtensions.vb\SyntaxTreeExtensions.vb (1)
291
If onErrorGotoStatement.
Label
.LabelToken = targetToken AndAlso targetToken.IntersectsWith(position) Then