191 references to IdentifierToken
Microsoft.CodeAnalysis.VisualBasic (191)
Binding\Binder_Expressions.vb (1)
513
If nameToken.Kind() = SyntaxKind.
IdentifierToken
Then
Binding\Binder_Symbols.vb (1)
641
If nameSyntax.Kind() = SyntaxKind.
IdentifierToken
Then
CommandLine\VisualBasicCommandLineParser.vb (1)
1953
If Not tokens.Current.Kind = SyntaxKind.
IdentifierToken
Then
Generated\Syntax.xml.Internal.Generated.vb (56)
34919
Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.
IdentifierToken
)
35237
Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.
IdentifierToken
)
35266
Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.
IdentifierToken
)
35295
Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.
IdentifierToken
)
35324
Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.
IdentifierToken
)
35353
Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.
IdentifierToken
)
35397
Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.
IdentifierToken
)
35615
Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.
IdentifierToken
)
36155
Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.
IdentifierToken
)
36203
Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.
IdentifierToken
)
36256
Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.
IdentifierToken
)
36342
Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.
IdentifierToken
)
36398
Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.
IdentifierToken
)
36459
Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.
IdentifierToken
)
36503
Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.
IdentifierToken
)
36545
Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.
IdentifierToken
)
36593
Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.
IdentifierToken
)
36636
Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.
IdentifierToken
)
36718
Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.
IdentifierToken
)
37000
Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.
IdentifierToken
)
37434
Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.
IdentifierToken
)
37855
Debug.Assert(labelToken IsNot Nothing AndAlso labelToken.Kind = SyntaxKind.
IdentifierToken
)
40920
Debug.Assert(mid IsNot Nothing AndAlso mid.Kind = SyntaxKind.
IdentifierToken
)
41650
Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.
IdentifierToken
)
43956
Debug.Assert(functionName IsNot Nothing AndAlso functionName.Kind = SyntaxKind.
IdentifierToken
)
45030
Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.
IdentifierToken
)
45058
Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.
IdentifierToken
)
45851
Debug.Assert(name IsNot Nothing AndAlso name.Kind = SyntaxKind.
IdentifierToken
)
46985
Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.
IdentifierToken
)
47303
Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.
IdentifierToken
)
47332
Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.
IdentifierToken
)
47361
Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.
IdentifierToken
)
47390
Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.
IdentifierToken
)
47419
Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.
IdentifierToken
)
47463
Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.
IdentifierToken
)
47681
Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.
IdentifierToken
)
48221
Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.
IdentifierToken
)
48269
Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.
IdentifierToken
)
48322
Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.
IdentifierToken
)
48408
Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.
IdentifierToken
)
48464
Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.
IdentifierToken
)
48525
Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.
IdentifierToken
)
48569
Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.
IdentifierToken
)
48611
Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.
IdentifierToken
)
48659
Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.
IdentifierToken
)
48702
Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.
IdentifierToken
)
48784
Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.
IdentifierToken
)
49066
Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.
IdentifierToken
)
49500
Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.
IdentifierToken
)
49921
Debug.Assert(labelToken IsNot Nothing AndAlso labelToken.Kind = SyntaxKind.
IdentifierToken
)
52986
Debug.Assert(mid IsNot Nothing AndAlso mid.Kind = SyntaxKind.
IdentifierToken
)
53716
Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.
IdentifierToken
)
56022
Debug.Assert(functionName IsNot Nothing AndAlso functionName.Kind = SyntaxKind.
IdentifierToken
)
57096
Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.
IdentifierToken
)
57124
Debug.Assert(identifier IsNot Nothing AndAlso identifier.Kind = SyntaxKind.
IdentifierToken
)
57917
Debug.Assert(name IsNot Nothing AndAlso name.Kind = SyntaxKind.
IdentifierToken
)
Generated\Syntax.xml.Main.Generated.vb (32)
6866
Case SyntaxKind.
IdentifierToken
7508
Case SyntaxKind.
IdentifierToken
7593
Case SyntaxKind.
IdentifierToken
7678
Case SyntaxKind.
IdentifierToken
7763
Case SyntaxKind.
IdentifierToken
7848
Case SyntaxKind.
IdentifierToken
7980
Case SyntaxKind.
IdentifierToken
8247
Case SyntaxKind.
IdentifierToken
9236
Case SyntaxKind.
IdentifierToken
9363
Case SyntaxKind.
IdentifierToken
9495
Case SyntaxKind.
IdentifierToken
9688
Case SyntaxKind.
IdentifierToken
9840
Case SyntaxKind.
IdentifierToken
9997
Case SyntaxKind.
IdentifierToken
10169
Case SyntaxKind.
IdentifierToken
10278
Case SyntaxKind.
IdentifierToken
10393
Case SyntaxKind.
IdentifierToken
10533
Case SyntaxKind.
IdentifierToken
10761
Case SyntaxKind.
IdentifierToken
11386
Case SyntaxKind.
IdentifierToken
12279
Case SyntaxKind.
IdentifierToken
13058
Case SyntaxKind.
IdentifierToken
:
13148
Case SyntaxKind.
IdentifierToken
:
13250
Return SyntaxKind.
IdentifierToken
23342
Case SyntaxKind.
IdentifierToken
25359
Case SyntaxKind.
IdentifierToken
37899
Case SyntaxKind.
IdentifierToken
41052
Case SyntaxKind.
IdentifierToken
41084
Case SyntaxKind.
IdentifierToken
42960
Case SyntaxKind.
IdentifierToken
44302
SyntaxKind.
IdentifierToken
,
44323
SyntaxKind.
IdentifierToken
,
Parser\ParseConditional.vb (8)
67
Case SyntaxKind.
IdentifierToken
183
ElseIf CurrentToken.Kind = SyntaxKind.
IdentifierToken
Then
256
Debug.Assert(CurrentToken.Kind = SyntaxKind.
IdentifierToken
AndAlso DirectCast(CurrentToken, IdentifierTokenSyntax).PossibleKeywordKind = SyntaxKind.RegionKeyword,
270
Debug.Assert(CurrentToken.Kind = SyntaxKind.
IdentifierToken
AndAlso DirectCast(CurrentToken, IdentifierTokenSyntax).PossibleKeywordKind = SyntaxKind.ExternalSourceKeyword,
317
Debug.Assert(CurrentToken.Kind = SyntaxKind.
IdentifierToken
AndAlso DirectCast(CurrentToken, IdentifierTokenSyntax).PossibleKeywordKind = SyntaxKind.ExternalChecksumKeyword,
385
Debug.Assert(CurrentToken.Kind = SyntaxKind.
IdentifierToken
,
386
NameOf(ParseWarningDirective) & " called with token that is not an " & NameOf(SyntaxKind.
IdentifierToken
))
449
Debug.Assert(CurrentToken.Kind = SyntaxKind.
IdentifierToken
AndAlso DirectCast(CurrentToken, IdentifierTokenSyntax).PossibleKeywordKind = SyntaxKind.ReferenceKeyword,
Parser\ParseExpression.vb (7)
192
Case SyntaxKind.
IdentifierToken
209
If nextToken.Kind = SyntaxKind.
IdentifierToken
Then
1234
If (CurrentToken.Kind = SyntaxKind.
IdentifierToken
AndAlso
1273
If (CurrentToken.Kind = SyntaxKind.
IdentifierToken
AndAlso
1400
If (CurrentToken.Kind = SyntaxKind.
IdentifierToken
OrElse CurrentToken.IsKeyword()) AndAlso
1501
If (CurrentToken.Kind = SyntaxKind.
IdentifierToken
OrElse CurrentToken.IsKeyword()) AndAlso
1649
Debug.Assert(CurrentToken.Kind = SyntaxKind.
IdentifierToken
)
Parser\ParseQuery.vb (7)
19
If ((CurrentToken.Kind = SyntaxKind.
IdentifierToken
OrElse CurrentToken.IsKeyword()) AndAlso
88
If CurrentToken.Kind = SyntaxKind.
IdentifierToken
Then
176
If ((CurrentToken.Kind = SyntaxKind.
IdentifierToken
OrElse CurrentToken.IsKeyword()) AndAlso
194
If CurrentToken.Kind = SyntaxKind.
IdentifierToken
OrElse CurrentToken.IsKeyword() Then
557
If current Is Nothing OrElse (current.Kind <> SyntaxKind.
IdentifierToken
AndAlso Not current.IsKeyword) Then
586
(current.Kind = SyntaxKind.
IdentifierToken
AndAlso
1074
Case SyntaxKind.
IdentifierToken
Parser\Parser.vb (18)
766
Case SyntaxKind.
IdentifierToken
1055
Case SyntaxKind.
IdentifierToken
1083
Case SyntaxKind.
IdentifierToken
1293
Case SyntaxKind.
IdentifierToken
1304
If nextToken.Kind = SyntaxKind.
IdentifierToken
AndAlso
1873
Case SyntaxKind.
IdentifierToken
1978
Case SyntaxKind.
IdentifierToken
2313
If CurrentToken.Kind = SyntaxKind.
IdentifierToken
AndAlso TryIdentifierAsContextualKeyword(CurrentToken, possibleKeyword) Then
2763
SyntaxKind.
IdentifierToken
2811
SyntaxKind.
IdentifierToken
2837
If Start.Kind = SyntaxKind.NewKeyword AndAlso PeekToken(1).Kind = SyntaxKind.
IdentifierToken
Then
2908
If CurrentToken.Kind = SyntaxKind.
IdentifierToken
AndAlso
4114
If CurrentToken.Kind = SyntaxKind.
IdentifierToken
Then
4778
If (CurrentToken.Kind = SyntaxKind.
IdentifierToken
AndAlso
5225
Debug.Assert(CurrentToken.Kind = SyntaxKind.
IdentifierToken
AndAlso DirectCast(CurrentToken, IdentifierTokenSyntax).PossibleKeywordKind = SyntaxKind.CustomKeyword, "ParseCustomEventDefinition called on the wrong token.")
5610
Case SyntaxKind.
IdentifierToken
,
6070
Debug.Assert(Not kinds.Contains(SyntaxKind.
IdentifierToken
))
6071
If token.Kind = SyntaxKind.
IdentifierToken
Then
Parser\ParseScan.vb (2)
118
If t.Kind = SyntaxKind.
IdentifierToken
AndAlso TryIdentifierAsContextualKeyword(t, kind) Then
406
ElseIf nextToken.Kind = SyntaxKind.
IdentifierToken
Then
Parser\ParseStatement.vb (8)
786
Case SyntaxKind.
IdentifierToken
874
If label.Kind = SyntaxKind.
IdentifierToken
Then
939
Debug.Assert(labelName.Kind = SyntaxKind.IntegerLiteralToken OrElse labelName.Kind = SyntaxKind.
IdentifierToken
)
1278
If CurrentToken.Kind = SyntaxKind.
IdentifierToken
AndAlso
1463
If CurrentToken.Kind = SyntaxKind.
IdentifierToken
Then
1574
Debug.Assert(CurrentToken.Kind = SyntaxKind.
IdentifierToken
OrElse CurrentToken.Kind = SyntaxKind.IntegerLiteralToken)
1611
Debug.Assert(CurrentToken.Kind = SyntaxKind.
IdentifierToken
AndAlso DirectCast(CurrentToken, IdentifierTokenSyntax).PossibleKeywordKind = SyntaxKind.MidKeyword)
1821
Debug.Assert(CurrentToken.Kind = SyntaxKind.
IdentifierToken
AndAlso
Parser\ParseTerminal.vb (2)
37
If CurrentToken.Kind = SyntaxKind.
IdentifierToken
Then
112
If CurrentToken.Kind = SyntaxKind.
IdentifierToken
Then
Parser\ParseVerify.vb (1)
68
Case SyntaxKind.
IdentifierToken
Parser\ParseXml.vb (3)
1404
If identToken.Kind <> SyntaxKind.
IdentifierToken
Then
1646
Return token.Kind = SyntaxKind.
IdentifierToken
OrElse TryCast(token, KeywordSyntax) IsNot Nothing
1651
If token.Kind = SyntaxKind.
IdentifierToken
Then
Scanner\KeywordTable.vb (1)
303
kind = SyntaxKind.
IdentifierToken
Scanner\Scanner.vb (11)
1580
Dim tokenType As SyntaxKind = SyntaxKind.
IdentifierToken
1581
Dim contextualKind As SyntaxKind = SyntaxKind.
IdentifierToken
1593
tokenType = SyntaxKind.
IdentifierToken
1598
tokenType = SyntaxKind.
IdentifierToken
1601
If tokenType <> SyntaxKind.
IdentifierToken
Then
1613
Return SyntaxKind.
IdentifierToken
1659
SyntaxKind.
IdentifierToken
,
2620
If id.PossibleKeywordKind <> SyntaxKind.
IdentifierToken
Then
2635
Dim kind As SyntaxKind = SyntaxKind.
IdentifierToken
2649
If t.Kind = SyntaxKind.
IdentifierToken
Then
2667
If t.Kind = SyntaxKind.
IdentifierToken
Then
Scanner\ScannerXml.vb (1)
280
(token.Kind = SyntaxKind.
IdentifierToken
) OrElse token.IsKeyword
Scanner\TokenFactories.vb (2)
287
If contextualKind <> SyntaxKind.
IdentifierToken
OrElse
317
Debug.Assert(identifier.PossibleKeywordKind <> SyntaxKind.
IdentifierToken
AndAlso
Scanner\XmlTokenFactories.vb (1)
166
If contextualKind = SyntaxKind.
IdentifierToken
Then
SymbolDisplay\SymbolDisplayVisitor_Minimal.vb (1)
195
If token.Kind = SyntaxKind.
IdentifierToken
Then
Symbols\Source\SourceLabelSymbol.vb (1)
27
Debug.Assert(labelNameToken.Kind = SyntaxKind.
IdentifierToken
OrElse labelNameToken.Kind = SyntaxKind.IntegerLiteralToken)
Syntax\InternalSyntax\SimpleIdentifierSyntax.vb (1)
19
Return SyntaxKind.
IdentifierToken
Syntax\InternalSyntax\SyntaxNodeFactories.vb (8)
77
Return New SimpleIdentifierSyntax(SyntaxKind.
IdentifierToken
, Nothing, Nothing, text, leadingTrivia, trailingTrivia)
85
Return New ComplexIdentifierSyntax(SyntaxKind.
IdentifierToken
, Nothing, Nothing, text, leadingTrivia, trailingTrivia, possibleKeywordKind, isBracketed, identifierText, typeCharacter)
93
Return New SimpleIdentifierSyntax(SyntaxKind.
IdentifierToken
, Nothing, Nothing, text, Nothing, Nothing)
100
Return New SimpleIdentifierSyntax(SyntaxKind.
IdentifierToken
, Nothing, Nothing, "", Nothing, Nothing)
107
Return New ComplexIdentifierSyntax(SyntaxKind.
IdentifierToken
, Nothing, Nothing, "", Nothing, Nothing, kind, False, "", TypeCharacter.None)
427
Case SyntaxKind.
IdentifierToken
468
Return New ComplexIdentifierSyntax(SyntaxKind.
IdentifierToken
, Nothing, Nothing, text, precedingTrivia, followingTrivia, SyntaxKind.
IdentifierToken
, isBracketed, baseText, typeCharacter)
Syntax\SyntaxEquivalence.vb (1)
48
Case SyntaxKind.
IdentifierToken
,
Syntax\SyntaxExtensions.vb (1)
126
Return If(nameToken.Kind() = SyntaxKind.
IdentifierToken
, nameToken.ValueText, Nothing)
Syntax\SyntaxKindFacts.vb (2)
413
SyntaxKind.
IdentifierToken
,
639
If result <> SyntaxKind.
IdentifierToken
AndAlso Not IsContextualKeyword(result) Then
Syntax\SyntaxNodeFactories.vb (9)
349
Return New SyntaxToken(Nothing, New InternalSyntax.ComplexIdentifierSyntax(SyntaxKind.
IdentifierToken
, Nothing, Nothing, text, leadingTrivia.Node, trailingTrivia.Node, SyntaxKind.
IdentifierToken
, isBracketed, identifierText, typeCharacter), 0, 0)
365
Return New SyntaxToken(Nothing, New InternalSyntax.ComplexIdentifierSyntax(SyntaxKind.
IdentifierToken
, Nothing, Nothing, text, leadingTrivia.Node, trailingTrivia.Node, SyntaxKind.
IdentifierToken
, False, text, TypeCharacter.None), 0, 0)
387
Return New SyntaxToken(Nothing, New InternalSyntax.ComplexIdentifierSyntax(SyntaxKind.
IdentifierToken
, Nothing, Nothing, "[" + text + "]", leadingTrivia.Node, trailingTrivia.Node, SyntaxKind.
IdentifierToken
, True, text, TypeCharacter.None), 0, 0)
394
Return New SyntaxToken(Nothing, New InternalSyntax.SimpleIdentifierSyntax(SyntaxKind.
IdentifierToken
, Nothing, Nothing, "",
402
Return New SyntaxToken(Nothing, New InternalSyntax.ComplexIdentifierSyntax(SyntaxKind.
IdentifierToken
, Nothing, Nothing, "",
726
Case SyntaxKind.
IdentifierToken
VisualBasicExtensions.vb (3)
291
If token.IsKind(SyntaxKind.
IdentifierToken
) Then
306
Case SyntaxKind.
IdentifierToken
385
If(token.IsKind(SyntaxKind.
IdentifierToken
),
VisualBasicParseOptions.vb (1)
260
Debug.Assert(SyntaxFactory.ParseTokens(symbol.Key).Select(Function(t) t.Kind).SequenceEqual({SyntaxKind.
IdentifierToken
, SyntaxKind.EndOfFileToken}))