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