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