2 overrides of PossibleKeywordKind
Microsoft.CodeAnalysis.VisualBasic (2)
Syntax\InternalSyntax\ComplexIdentifierSyntax.vb (1)
35
Friend Overrides ReadOnly Property
PossibleKeywordKind
As SyntaxKind
Syntax\InternalSyntax\SimpleIdentifierSyntax.vb (1)
17
Friend Overrides ReadOnly Property
PossibleKeywordKind
As SyntaxKind
20 references to PossibleKeywordKind
Microsoft.CodeAnalysis.VisualBasic (20)
Parser\ParseConditional.vb (9)
68
Select Case DirectCast(CurrentToken, IdentifierTokenSyntax).
PossibleKeywordKind
187
If identifier.
PossibleKeywordKind
= SyntaxKind.RegionKeyword Then
193
ElseIf identifier.
PossibleKeywordKind
= SyntaxKind.ExternalSourceKeyword 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,
389
Debug.Assert((identifier.
PossibleKeywordKind
= SyntaxKind.EnableKeyword) OrElse
390
(identifier.
PossibleKeywordKind
= SyntaxKind.DisableKeyword),
449
Debug.Assert(CurrentToken.Kind = SyntaxKind.IdentifierToken AndAlso DirectCast(CurrentToken, IdentifierTokenSyntax).
PossibleKeywordKind
= SyntaxKind.ReferenceKeyword,
Parser\ParseQuery.vb (1)
90
If curIdent.
PossibleKeywordKind
= SyntaxKind.GroupKeyword Then
Parser\Parser.vb (2)
1874
Select Case DirectCast(token, IdentifierTokenSyntax).
PossibleKeywordKind
5225
Debug.Assert(CurrentToken.Kind = SyntaxKind.IdentifierToken AndAlso DirectCast(CurrentToken, IdentifierTokenSyntax).
PossibleKeywordKind
= SyntaxKind.CustomKeyword, "ParseCustomEventDefinition called on the wrong token.")
Parser\ParseStatement.vb (1)
1611
Debug.Assert(CurrentToken.Kind = SyntaxKind.IdentifierToken AndAlso DirectCast(CurrentToken, IdentifierTokenSyntax).
PossibleKeywordKind
= SyntaxKind.MidKeyword)
Parser\ParseXml.vb (1)
1653
Dim name = SyntaxFactory.XmlNameToken(id.Text, id.
PossibleKeywordKind
, token.GetLeadingTrivia(), token.GetTrailingTrivia())
Scanner\Scanner.vb (2)
2620
If id.
PossibleKeywordKind
<> SyntaxKind.IdentifierToken Then
2621
k = id.
PossibleKeywordKind
Scanner\TokenFactories.vb (3)
317
Debug.Assert(identifier.
PossibleKeywordKind
<> SyntaxKind.IdentifierToken AndAlso
319
(identifier.TypeCharacter = TypeCharacter.None OrElse identifier.
PossibleKeywordKind
= SyntaxKind.MidKeyword))
321
Return MakeKeyword(identifier.
PossibleKeywordKind
,
Syntax\InternalSyntax\IdentifierTokenSyntax.vb (1)
49
Return Me.
PossibleKeywordKind