10 references to UndefKeyword
Microsoft.CodeAnalysis.CSharp (4)
Parser\DirectiveParser.cs (1)
78
case SyntaxKind.
UndefKeyword
:
Syntax\SyntaxKindFacts.cs (3)
93
case SyntaxKind.
UndefKeyword
:
1133
return SyntaxKind.
UndefKeyword
;
1673
case SyntaxKind.
UndefKeyword
:
Microsoft.CodeAnalysis.CSharp.Features (2)
Completion\CompletionProviders\SnippetCompletionProvider.cs (1)
138
SyntaxKind.
UndefKeyword
or
Completion\KeywordRecommenders\UndefKeywordRecommender.cs (1)
14
: base(SyntaxKind.
UndefKeyword
, isValidInPreprocessorContext: true)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (4)
Generated\Syntax.Test.xml.Generated.cs (4)
716
=> InternalSyntaxFactory.UndefDirectiveTrivia(InternalSyntaxFactory.Token(SyntaxKind.HashToken), InternalSyntaxFactory.Token(SyntaxKind.
UndefKeyword
), InternalSyntaxFactory.Identifier("Name"), InternalSyntaxFactory.Token(SyntaxKind.EndOfDirectiveToken), new bool());
3734
Assert.Equal(SyntaxKind.
UndefKeyword
, node.UndefKeyword.Kind);
10932
=> SyntaxFactory.UndefDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.HashToken), SyntaxFactory.Token(SyntaxKind.
UndefKeyword
), SyntaxFactory.Identifier("Name"), SyntaxFactory.Token(SyntaxKind.EndOfDirectiveToken), new bool());
13950
Assert.Equal(SyntaxKind.
UndefKeyword
, node.UndefKeyword.Kind());