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