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