85 references to AsKeyword
Microsoft.CodeAnalysis.VisualBasic (85)
Generated\Syntax.xml.Internal.Generated.vb (8)
35427Debug.Assert(asKeyword IsNot Nothing AndAlso asKeyword.Kind = SyntaxKind.AsKeyword) 35463Debug.Assert(asKeyword IsNot Nothing AndAlso asKeyword.Kind = SyntaxKind.AsKeyword) 37202Debug.Assert(asKeyword IsNot Nothing AndAlso asKeyword.Kind = SyntaxKind.AsKeyword) 37233Debug.Assert(asKeyword IsNot Nothing AndAlso asKeyword.Kind = SyntaxKind.AsKeyword) 47493Debug.Assert(asKeyword IsNot Nothing AndAlso asKeyword.Kind = SyntaxKind.AsKeyword) 47529Debug.Assert(asKeyword IsNot Nothing AndAlso asKeyword.Kind = SyntaxKind.AsKeyword) 49268Debug.Assert(asKeyword IsNot Nothing AndAlso asKeyword.Kind = SyntaxKind.AsKeyword) 49299Debug.Assert(asKeyword IsNot Nothing AndAlso asKeyword.Kind = SyntaxKind.AsKeyword)
Generated\Syntax.xml.Main.Generated.vb (12)
8024Case SyntaxKind.AsKeyword 8052Return SyntaxFactory.TypeParameterSingleConstraintClause(SyntaxFactory.Token(SyntaxKind.AsKeyword), constraint) 8075Case SyntaxKind.AsKeyword 8102Return SyntaxFactory.TypeParameterMultipleConstraintClause(SyntaxFactory.Token(SyntaxKind.AsKeyword), SyntaxFactory.Token(SyntaxKind.OpenBraceToken), constraints, SyntaxFactory.Token(SyntaxKind.CloseBraceToken)) 8115Return SyntaxFactory.TypeParameterMultipleConstraintClause(SyntaxFactory.Token(SyntaxKind.AsKeyword), SyntaxFactory.Token(SyntaxKind.OpenBraceToken), SyntaxFactory.SeparatedList(Of ConstraintSyntax)().AddRange(constraints), SyntaxFactory.Token(SyntaxKind.CloseBraceToken)) 11666Case SyntaxKind.AsKeyword 11704Return SyntaxFactory.SimpleAsClause(SyntaxFactory.Token(SyntaxKind.AsKeyword), attributeLists, type) 11717Return SyntaxFactory.SimpleAsClause(SyntaxFactory.Token(SyntaxKind.AsKeyword), Nothing, type) 11735Case SyntaxKind.AsKeyword 11763Return SyntaxFactory.AsNewClause(SyntaxFactory.Token(SyntaxKind.AsKeyword), newExpression) 44999SyntaxKind.AsKeyword, 45364Case SyntaxKind.AsKeyword
Parser\ParseExpression.vb (1)
1703If CurrentToken.Kind = SyntaxKind.AsKeyword Then
Parser\ParseQuery.vb (12)
297Dim peek = PeekAheadFor(SyntaxKind.AsKeyword, SyntaxKind.InKeyword, SyntaxKind.CommaToken, 304Case SyntaxKind.AsKeyword, 326If CurrentToken.Kind = SyntaxKind.AsKeyword Then 348Case SyntaxKind.AsKeyword, 418Dim peek = PeekAheadFor(SyntaxKind.AsKeyword, SyntaxKind.InKeyword, SyntaxKind.CommaToken, 425Case SyntaxKind.AsKeyword, 447If CurrentToken.Kind = SyntaxKind.AsKeyword Then 470Case SyntaxKind.AsKeyword, 617current.Kind <> SyntaxKind.AsKeyword AndAlso 769Dim peek = PeekAheadFor(SyntaxKind.AsKeyword, SyntaxKind.InKeyword, SyntaxKind.OnKeyword, 776Case SyntaxKind.AsKeyword, 797If CurrentToken.Kind = SyntaxKind.AsKeyword Then
Parser\Parser.vb (25)
1454identifier = identifier.AddTrailingSyntax(ResyncAt({SyntaxKind.AsKeyword})) 1457If CurrentToken.Kind = SyntaxKind.AsKeyword Then 2129declarator = ResyncAt(declarator, SyntaxKind.AsKeyword, SyntaxKind.CommaToken, SyntaxKind.NewKeyword, SyntaxKind.EqualsToken) 2190If CurrentToken.Kind = SyntaxKind.AsKeyword Then 2910PeekNextToken().Kind = SyntaxKind.AsKeyword) Then 2913TryGetToken(SyntaxKind.AsKeyword, asKeywordOpt) 3350upperBound = ResyncAt(upperBound, SyntaxKind.CommaToken, SyntaxKind.CloseParenToken, SyntaxKind.AsKeyword) 3364upperBound = ResyncAt(upperBound, SyntaxKind.CommaToken, SyntaxKind.CloseParenToken, SyntaxKind.AsKeyword) 3838ident = ident.AddTrailingSyntax(ResyncAt({SyntaxKind.OpenParenToken, SyntaxKind.AsKeyword})) 3855If CurrentToken.Kind = SyntaxKind.AsKeyword Then 3980operatorToken = operatorToken.AddTrailingSyntax(ResyncAt({SyntaxKind.OpenParenToken, SyntaxKind.AsKeyword})) 4011If CurrentToken.Kind = SyntaxKind.AsKeyword Then 4142Dim unexpected = ResyncAt({SyntaxKind.AsKeyword, SyntaxKind.ImplementsKeyword, SyntaxKind.EqualsToken}) 4313If CurrentToken.Kind = SyntaxKind.CloseParenToken OrElse CurrentToken.Kind = SyntaxKind.CommaToken OrElse CurrentToken.Kind = SyntaxKind.AsKeyword Then 4331If CurrentToken.Kind = SyntaxKind.AsKeyword Then 4639If PeekAheadFor(SyntaxKind.AsKeyword, SyntaxKind.CommaToken, SyntaxKind.CloseParenToken) = SyntaxKind.AsKeyword Then 4640paramName = ResyncAt(paramName, SyntaxKind.AsKeyword) 4647If TryGetToken(SyntaxKind.AsKeyword, asKeyword) Then 5122CurrentToken.Kind = SyntaxKind.AsKeyword Then 5259If CurrentToken.Kind = SyntaxKind.AsKeyword Then 5287If CurrentToken.Kind = SyntaxKind.AsKeyword Then 5293asKeyword = InternalSyntaxFactory.MissingKeyword(SyntaxKind.AsKeyword) 5349If CurrentToken.Kind = SyntaxKind.AsKeyword Then 5373If CurrentToken.Kind = SyntaxKind.AsKeyword Then
Parser\ParseStatement.vb (10)
790Case SyntaxKind.QuestionToken, SyntaxKind.AsKeyword 795Dim i = PeekAheadFor(s_isTokenOrKeywordFunc, {SyntaxKind.AsKeyword, SyntaxKind.InKeyword, SyntaxKind.EqualsToken}, lookAhead) 797lookAhead.Kind = SyntaxKind.AsKeyword AndAlso 836If PeekAheadFor(SyntaxKind.AsKeyword, SyntaxKind.InKeyword, SyntaxKind.EqualsToken) = SyntaxKind.AsKeyword Then 837Declarator = ResyncAt(Declarator, SyntaxKind.AsKeyword) 845If CurrentToken.Kind = SyntaxKind.AsKeyword Then 1329If CurrentToken.Kind = SyntaxKind.AsKeyword Then 1472If TryGetToken(SyntaxKind.AsKeyword, asKeyword) Then 1800If nextToken.Kind = SyntaxKind.AsKeyword OrElse
Parser\ParseVerify.vb (1)
35Case SyntaxKind.AsKeyword
Parser\ParseXml.vb (1)
1175If CurrentToken.Kind = SyntaxKind.AsKeyword Then
Scanner\KeywordTable.vb (1)
29SyntaxKind.AsKeyword, None,
Scanner\Scanner.vb (1)
1264Return MakeKeyword(SyntaxKind.AsKeyword, "As", precedingTrivia)
SymbolDisplay\SymbolDisplayVisitor.Members.vb (5)
42AddKeyword(SyntaxKind.AsKeyword) 116AddKeyword(SyntaxKind.AsKeyword) 156AddKeyword(SyntaxKind.AsKeyword) 441AddKeyword(SyntaxKind.AsKeyword) 548AddKeyword(SyntaxKind.AsKeyword)
SymbolDisplay\SymbolDisplayVisitor.Types.vb (3)
189AddKeyword(SyntaxKind.AsKeyword) 398AddKeyword(SyntaxKind.AsKeyword) 541AddKeyword(SyntaxKind.AsKeyword)
SymbolDisplay\SymbolDisplayVisitor.vb (2)
290AddKeyword(SyntaxKind.AsKeyword) 311AddKeyword(SyntaxKind.AsKeyword)
Syntax\InternalSyntax\SyntaxNodeFactories.vb (1)
166SyntaxKind.AsKeyword,
Syntax\SyntaxKindFacts.vb (1)
87SyntaxKind.AsKeyword,
Syntax\SyntaxNodeFactories.vb (1)
465SyntaxKind.AsKeyword,