25 references to Label
Microsoft.CodeAnalysis.VisualBasic (8)
Analysis\FlowAnalysis\ControlFlowPass.vb (1)
170
errorLocation = DirectCast(syntax, GoToStatementSyntax).
Label
Binding\Binder_Statements.vb (2)
800
Dim boundLabelExpression As BoundExpression = BindExpression(node.
Label
, diagnostics)
810
Not IsValidLabelForGoto(symbol, node.
Label
, diagnostics)
Generated\Syntax.xml.Main.Generated.vb (2)
2830
Dim newLabel = DirectCast(Visit(node.
Label
), LabelSyntax)
2831
If node.
Label
IsNot newLabel Then anyChanges = True
Generated\Syntax.xml.Syntax.Generated.vb (3)
13581
return Update(goToKeyword, Me.
Label
)
13614
Return Me.
Label
13640
If goToKeyword <> Me.GoToKeyword OrElse label IsNot Me.
Label
Then
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (2)
IsStatementTerminatingTokenVisitor.vb (1)
62
Return TargetTokenMatches(node.
Label
.LabelToken)
SyntaxTreeExtensions.vb (1)
280
If gotoStatement.
Label
.LabelToken = targetToken AndAlso targetToken.IntersectsWith(position) Then
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (11)
Compilation\SemanticModelAPITests.vb (2)
233
Dim symbol1 = model1.GetSymbolInfo(statement.
Label
).Symbol
234
Dim symbol2 = model2.GetSymbolInfo(statement.
Label
).Symbol
Semantics\GotoTests.vb (9)
202
Dim semanticSummary = CompilationUtils.GetSemanticInfoSummary(Compilation, gotoSyntax.
Label
)
235
Dim semanticSummary0 = CompilationUtils.GetSemanticInfoSummary(Compilation, gotoSyntaxArray(0).
Label
)
244
Dim semanticSummary1 = CompilationUtils.GetSemanticInfoSummary(Compilation, gotoSyntaxArray(1).
Label
)
276
Dim semanticSummary = CompilationUtils.GetSemanticInfoSummary(Compilation, gotoSyntax.
Label
)
310
Dim semanticSummary = CompilationUtils.GetSemanticInfoSummary(Compilation, gotoSyntax.
Label
)
349
Dim semanticSummary = CompilationUtils.GetSemanticInfoSummary(Compilation, gotoSyntax.
Label
)
385
Dim semanticSummary = CompilationUtils.GetSemanticInfoSummary(Compilation, gotoSyntax.
Label
)
419
Dim semanticSummary = CompilationUtils.GetSemanticInfoSummary(Compilation, gotoSyntax.
Label
)
451
Dim semanticSummary = CompilationUtils.GetSemanticInfoSummary(Compilation, gotoSyntax.
Label
)
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (2)
Generated\Syntax.Test.xml.Generated.vb (2)
19454
Assert.NotNull(objectUnderTest.
label
)
19455
Dim withObj = objectUnderTest.WithGoToKeyword(objectUnderTest.GoToKeyword).WithLabel(objectUnderTest.
Label
)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (2)
IsStatementTerminatingTokenVisitor.vb (1)
62
Return TargetTokenMatches(node.
Label
.LabelToken)
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\SyntaxTreeExtensions.vb\SyntaxTreeExtensions.vb (1)
280
If gotoStatement.
Label
.LabelToken = targetToken AndAlso targetToken.IntersectsWith(position) Then