30 references to ToKeyword
Microsoft.CodeAnalysis.VisualBasic (30)
Generated\Syntax.xml.Internal.Generated.vb (6)
39390Debug.Assert(toKeyword IsNot Nothing AndAlso toKeyword.Kind = SyntaxKind.ToKeyword) 40330Debug.Assert(toKeyword IsNot Nothing AndAlso toKeyword.Kind = SyntaxKind.ToKeyword) 43779Debug.Assert(toKeyword IsNot Nothing AndAlso toKeyword.Kind = SyntaxKind.ToKeyword) 51456Debug.Assert(toKeyword IsNot Nothing AndAlso toKeyword.Kind = SyntaxKind.ToKeyword) 52396Debug.Assert(toKeyword IsNot Nothing AndAlso toKeyword.Kind = SyntaxKind.ToKeyword) 55845Debug.Assert(toKeyword IsNot Nothing AndAlso toKeyword.Kind = SyntaxKind.ToKeyword)
Generated\Syntax.xml.Main.Generated.vb (9)
16405Case SyntaxKind.ToKeyword 16535Return SyntaxFactory.RangeCaseClause(lowerBound, SyntaxFactory.Token(SyntaxKind.ToKeyword), upperBound) 19394Case SyntaxKind.ToKeyword 19538Return SyntaxFactory.ForStatement(SyntaxFactory.Token(SyntaxKind.ForKeyword), controlVariable, SyntaxFactory.Token(SyntaxKind.EqualsToken), fromValue, SyntaxFactory.Token(SyntaxKind.ToKeyword), toValue, stepClause) 19563Return SyntaxFactory.ForStatement(SyntaxFactory.Token(SyntaxKind.ForKeyword), controlVariable, SyntaxFactory.Token(SyntaxKind.EqualsToken), fromValue, SyntaxFactory.Token(SyntaxKind.ToKeyword), toValue, Nothing) 37302Case SyntaxKind.ToKeyword 37433Return SyntaxFactory.RangeArgument(lowerBound, SyntaxFactory.Token(SyntaxKind.ToKeyword), upperBound) 45128SyntaxKind.ToKeyword, 45622Case SyntaxKind.ToKeyword
Parser\ParseExpression.vb (1)
1558If RedimOrNewParent AndAlso CurrentToken.Kind = SyntaxKind.ToKeyword Then
Parser\Parser.vb (1)
3352ElseIf CurrentToken.Kind = SyntaxKind.ToKeyword Then
Parser\ParseStatement.vb (9)
299value = ResyncAt(value, SyntaxKind.ToKeyword) 303If TryGetToken(SyntaxKind.ToKeyword, toKeyword) Then 624expression = InternalSyntaxFactory.MissingExpression.AddTrailingSyntax(ResyncAt({SyntaxKind.ToKeyword}), ERRID.ERR_Syntax) 640controlVariable = ResyncAt(controlVariable, SyntaxKind.EqualsToken, SyntaxKind.ToKeyword) 657fromValue = ResyncAt(fromValue, SyntaxKind.ToKeyword) 665fromValue = InternalSyntaxFactory.MissingExpression.AddTrailingSyntax(ResyncAt({SyntaxKind.ToKeyword}), ERRID.ERR_Syntax) 670If TryGetToken(SyntaxKind.ToKeyword, toKeyword) Then 681toKeyword = DirectCast(HandleUnexpectedToken(SyntaxKind.ToKeyword), KeywordSyntax) 683toValue = InternalSyntaxFactory.MissingExpression.AddTrailingSyntax(ResyncAt({SyntaxKind.ToKeyword}))
Scanner\KeywordTable.vb (1)
158SyntaxKind.ToKeyword, CanFollowExpr,
Syntax\InternalSyntax\SyntaxNodeFactories.vb (1)
294SyntaxKind.ToKeyword,
Syntax\SyntaxKindFacts.vb (1)
216SyntaxKind.ToKeyword,
Syntax\SyntaxNodeFactories.vb (1)
594SyntaxKind.ToKeyword,