4 instantiations of GoToStatementSyntax
Microsoft.CodeAnalysis.VisualBasic (4)
Generated\Syntax.xml.Internal.Generated.vb (1)
11851Return new Microsoft.CodeAnalysis.VisualBasic.Syntax.GoToStatementSyntax(Me, parent, startLocation)
Generated\Syntax.xml.Main.Generated.vb (2)
2834Return New GoToStatementSyntax(node.Kind, node.Green.GetDiagnostics, node.Green.GetAnnotations, newGoToKeyword, newLabel) 13122Return New GoToStatementSyntax(SyntaxKind.GoToStatement, Nothing, Nothing, DirectCast(goToKeyword.Node, InternalSyntax.KeywordSyntax), label)
Generated\Syntax.xml.Syntax.Generated.vb (1)
13563Me.New(New Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.GoToStatementSyntax(kind, errors, annotations, goToKeyword, DirectCast(label.Green, Microsoft.CodeAnalysis.VisualBasic.Syntax.InternalSyntax.LabelSyntax)), Nothing, 0)
29 references to GoToStatementSyntax
Microsoft.CodeAnalysis.VisualBasic (11)
Analysis\FlowAnalysis\ControlFlowPass.vb (1)
170errorLocation = DirectCast(syntax, GoToStatementSyntax).Label
Binding\Binder_Statements.vb (2)
57Return BindGoToStatement(DirectCast(node, GoToStatementSyntax), diagnostics) 797Private Function BindGoToStatement(node As GoToStatementSyntax, diagnostics As BindingDiagnosticBag) As BoundStatement
Generated\Syntax.xml.Main.Generated.vb (5)
239Public Overridable Function VisitGoToStatement(ByVal node As GoToStatementSyntax) As TResult 974Public Overridable Sub VisitGoToStatement(ByVal node As GoToStatementSyntax) 2825Public Overrides Function VisitGoToStatement(ByVal node As GoToStatementSyntax) As SyntaxNode 13106Public Shared Function GoToStatement(goToKeyword As SyntaxToken, label As LabelSyntax) As GoToStatementSyntax 13133Public Shared Function GoToStatement(label As LabelSyntax) As GoToStatementSyntax
Generated\Syntax.xml.Syntax.Generated.vb (3)
13580Public Shadows Function WithGoToKeyword(goToKeyword as SyntaxToken) As GoToStatementSyntax 13598Public Shadows Function WithLabel(label as LabelSyntax) As GoToStatementSyntax 13639Public Function Update(goToKeyword As SyntaxToken, label As LabelSyntax) As GoToStatementSyntax
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (2)
IsStatementTerminatingTokenVisitor.vb (1)
61Public Overrides Function VisitGoToStatement(node As GoToStatementSyntax) As Boolean
SyntaxTreeExtensions.vb (1)
274Dim gotoStatement = targetToken.GetAncestor(Of GoToStatementSyntax)()
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (9)
Compilation\SemanticModelAPITests.vb (1)
232Dim statement = tree.GetCompilationUnitRoot().DescendantNodes().OfType(Of GoToStatementSyntax)().First()
Semantics\GotoTests.vb (8)
199Dim gotoSyntax = tree.GetCompilationUnitRoot().DescendantNodes().OfType(Of GoToStatementSyntax)().ToList().First 232Dim gotoSyntaxArray = tree.GetCompilationUnitRoot().DescendantNodes().OfType(Of GoToStatementSyntax)().ToArray() 273Dim gotoSyntax = tree.GetCompilationUnitRoot().DescendantNodes().OfType(Of GoToStatementSyntax)().ToList().First 306Dim gotoSyntax = tree.GetCompilationUnitRoot().DescendantNodes().OfType(Of GoToStatementSyntax)().ToList().First 346Dim gotoSyntax = tree.GetCompilationUnitRoot().DescendantNodes().OfType(Of GoToStatementSyntax)().ToList().First 382Dim gotoSyntax = tree.GetCompilationUnitRoot().DescendantNodes().OfType(Of GoToStatementSyntax)().ToList().First 416Dim gotoSyntax = tree.GetCompilationUnitRoot().DescendantNodes().OfType(Of GoToStatementSyntax)().ToList().First 450Dim gotoSyntax = tree.GetCompilationUnitRoot().DescendantNodes().OfType(Of GoToStatementSyntax)().ToList().First
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (1)
Generated\Syntax.Test.xml.Generated.vb (1)
11850Private Shared Function GenerateRedGoToStatement() As GoToStatementSyntax
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (1)
LocalVariableDeclaratorsCollector.vb (1)
60Public Overrides Sub VisitGoToStatement(node As GoToStatementSyntax)
Microsoft.CodeAnalysis.VisualBasic.Workspaces (2)
IsStatementTerminatingTokenVisitor.vb (1)
61Public Overrides Function VisitGoToStatement(node As GoToStatementSyntax) As Boolean
J\s\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\SyntaxTreeExtensions.vb\SyntaxTreeExtensions.vb (1)
274Dim gotoStatement = targetToken.GetAncestor(Of GoToStatementSyntax)()
Microsoft.VisualStudio.LanguageServices.VisualBasic (1)
Help\VisualBasicHelpContextService.Visitor.vb (1)
298Public Overrides Sub VisitGoToStatement(node As GoToStatementSyntax)
Roslyn.Compilers.VisualBasic.IOperation.UnitTests (2)
IOperation\IOperationTests_IBranchOperation.Extensions.vb (1)
26Dim result = GetOuterOperationAndCorrespondingInnerOperation(Of LabelStatementSyntax, GoToStatementSyntax)(
IOperation\IOperationTests_InvalidStatement.vb (1)
400VerifyOperationTreeAndDiagnosticsForTest(Of GoToStatementSyntax)(source, expectedOperationTree, expectedDiagnostics)