30 references to CustomKeyword
Microsoft.CodeAnalysis.VisualBasic (19)
Binding\Binder_Utils.vb (1)
1715SyntaxKind.CustomKeyword,
Generated\Syntax.xml.Main.Generated.vb (2)
45157SyntaxKind.CustomKeyword, 45680Case SyntaxKind.CustomKeyword
Parser\Parser.vb (10)
781If contextualKind = SyntaxKind.CustomKeyword Then 1066If contextualKind = SyntaxKind.CustomKeyword AndAlso PeekToken(1).Kind = SyntaxKind.EventKeyword Then 1110ElseIf contextualKind = SyntaxKind.CustomKeyword AndAlso PeekToken(1).Kind = SyntaxKind.EventKeyword Then ' BeginsEvent 1305If keyword.Kind = SyntaxKind.CustomKeyword Then 1875SyntaxKind.CustomKeyword, 1881Case SyntaxKind.CustomKeyword, 1992If possibleKeyword.Kind = SyntaxKind.CustomKeyword Then 2685If TryTokenAsContextualKeyword(identifierStart, SyntaxKind.CustomKeyword, keyword) Then 4972If optionValue IsNot Nothing AndAlso optionValue.Kind = SyntaxKind.CustomKeyword Then 5231Debug.Assert(CurrentToken.Kind = SyntaxKind.IdentifierToken AndAlso DirectCast(CurrentToken, IdentifierTokenSyntax).PossibleKeywordKind = SyntaxKind.CustomKeyword, "ParseCustomEventDefinition called on the wrong token.")
Scanner\KeywordTable.vb (1)
183SyntaxKind.CustomKeyword, None,
Syntax\InternalSyntax\SyntaxNodeFactories.vb (1)
326SyntaxKind.CustomKeyword,
Syntax\SyntaxKindFacts.vb (3)
254SyntaxKind.CustomKeyword, 399SyntaxKind.CustomKeyword, 781{"custom", SyntaxKind.CustomKeyword},
Syntax\SyntaxNodeFactories.vb (1)
641SyntaxKind.CustomKeyword,
Microsoft.CodeAnalysis.VisualBasic.CodeStyle.Fixes (3)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\SyntaxTokenExtensions.vb (1)
172SyntaxKind.CustomKeyword,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicSyntaxGeneratorInternal.vb (1)
230customKeyword:=SyntaxFactory.Token(SyntaxKind.CustomKeyword),
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Utilities\ModifierCollectionFacts.vb (1)
156Case SyntaxKind.CustomKeyword
Microsoft.CodeAnalysis.VisualBasic.Features (1)
Completion\KeywordRecommenders\Declarations\EventKeywordRecommender.vb (1)
36If targetToken.Kind = SyntaxKind.IdentifierToken AndAlso SyntaxFacts.GetContextualKeywordKind(targetToken.GetIdentifierText()) = SyntaxKind.CustomKeyword Then
Microsoft.CodeAnalysis.VisualBasic.Workspaces (4)
CodeCleanup\Providers\NormalizeModifiersOrOperatorsCodeCleanupProvider.vb (1)
61SyntaxKind.WithEventsKeyword, SyntaxKind.WideningKeyword, SyntaxKind.NarrowingKeyword, SyntaxKind.CustomKeyword,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\SyntaxTokenExtensions.vb (1)
172SyntaxKind.CustomKeyword,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicSyntaxGeneratorInternal.vb (1)
230customKeyword:=SyntaxFactory.Token(SyntaxKind.CustomKeyword),
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Utilities\ModifierCollectionFacts.vb (1)
156Case SyntaxKind.CustomKeyword
Roslyn.Diagnostics.VisualBasic.Analyzers (3)
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Extensions\ContextQuery\SyntaxTokenExtensions.vb (1)
172SyntaxKind.CustomKeyword,
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\LanguageServices\VisualBasicSyntaxGeneratorInternal.vb (1)
230customKeyword:=SyntaxFactory.Token(SyntaxKind.CustomKeyword),
src\roslyn\src\Workspaces\SharedUtilitiesAndExtensions\Workspace\VisualBasic\Utilities\ModifierCollectionFacts.vb (1)
156Case SyntaxKind.CustomKeyword