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