40 references to ElseKeyword
Microsoft.CodeAnalysis.VisualBasic (40)
Generated\Syntax.xml.Internal.Generated.vb (8)
38524
Debug.Assert(elseKeyword IsNot Nothing AndAlso elseKeyword.Kind = SyntaxKind.
ElseKeyword
)
38694
Debug.Assert(elseKeyword IsNot Nothing AndAlso elseKeyword.Kind = SyntaxKind.
ElseKeyword
)
39335
Debug.Assert(elseKeyword IsNot Nothing AndAlso elseKeyword.Kind = SyntaxKind.
ElseKeyword
)
45896
Debug.Assert(elseKeyword IsNot Nothing AndAlso elseKeyword.Kind = SyntaxKind.
ElseKeyword
)
50590
Debug.Assert(elseKeyword IsNot Nothing AndAlso elseKeyword.Kind = SyntaxKind.
ElseKeyword
)
50760
Debug.Assert(elseKeyword IsNot Nothing AndAlso elseKeyword.Kind = SyntaxKind.
ElseKeyword
)
51401
Debug.Assert(elseKeyword IsNot Nothing AndAlso elseKeyword.Kind = SyntaxKind.
ElseKeyword
)
57962
Debug.Assert(elseKeyword IsNot Nothing AndAlso elseKeyword.Kind = SyntaxKind.
ElseKeyword
)
Generated\Syntax.xml.Main.Generated.vb (11)
14122
Case SyntaxKind.
ElseKeyword
14138
Return SyntaxFactory.SingleLineElseClause(SyntaxFactory.Token(SyntaxKind.
ElseKeyword
), statements)
14146
Return SyntaxFactory.SingleLineElseClause(SyntaxFactory.Token(SyntaxKind.
ElseKeyword
), Nothing)
14602
Case SyntaxKind.
ElseKeyword
14614
Return SyntaxFactory.ElseStatement(SyntaxFactory.Token(SyntaxKind.
ElseKeyword
))
16140
Case SyntaxKind.
ElseKeyword
16152
Return SyntaxFactory.ElseCaseClause(SyntaxFactory.Token(SyntaxKind.
ElseKeyword
))
43571
Case SyntaxKind.
ElseKeyword
43583
Return SyntaxFactory.ElseDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.HashToken), SyntaxFactory.Token(SyntaxKind.
ElseKeyword
))
45039
SyntaxKind.
ElseKeyword
,
45444
Case SyntaxKind.
ElseKeyword
Parser\BlockContexts\SingleLineElseContext.vb (1)
109
Case SyntaxKind.
ElseKeyword
Parser\BlockContexts\SingleLineIfBlockContext.vb (1)
111
Case SyntaxKind.
ElseKeyword
Parser\ParseConditional.vb (2)
43
Case SyntaxKind.
ElseKeyword
113
Debug.Assert(CurrentToken.Kind = SyntaxKind.
ElseKeyword
)
Parser\Parser.vb (2)
943
Case SyntaxKind.
ElseKeyword
5840
Case SyntaxKind.
ElseKeyword
,
Parser\ParseScan.vb (3)
81
T.Kind = SyntaxKind.
ElseKeyword
88
IsValidStatementTerminator(nextToken)) OrElse (Context.IsLineIf AndAlso nextToken.Kind = SyntaxKind.
ElseKeyword
)
105
Return CanFollowStatement(t) OrElse t.Kind = SyntaxKind.
ElseKeyword
Parser\ParseStatement.vb (4)
252
If CurrentToken.Kind = SyntaxKind.
ElseKeyword
Then
432
Debug.Assert(CurrentToken.Kind = SyntaxKind.
ElseKeyword
, "ParseIfConstruct called on wrong token.")
444
Debug.Assert(CurrentToken.Kind = SyntaxKind.ElseIfKeyword OrElse (CurrentToken.Kind = SyntaxKind.
ElseKeyword
AndAlso PeekToken(1).Kind = SyntaxKind.IfKeyword),
454
ElseIf CurrentToken.Kind = SyntaxKind.
ElseKeyword
Then
Scanner\Directives.vb (1)
560
nextKind = SyntaxKind.
ElseKeyword
) Then
Scanner\KeywordTable.vb (1)
68
SyntaxKind.
ElseKeyword
, CanFollowExpr,
Syntax\InternalSyntax\SyntaxNodeFactories.vb (1)
205
SyntaxKind.
ElseKeyword
,
Syntax\SyntaxKindFacts.vb (4)
65
SyntaxKind.
ElseKeyword
,
127
SyntaxKind.
ElseKeyword
,
355
SyntaxKind.
ElseKeyword
,
832
{"else", SyntaxKind.
ElseKeyword
},
Syntax\SyntaxNodeFactories.vb (1)
504
SyntaxKind.
ElseKeyword
,