10 references to DefineKeyword
Microsoft.CodeAnalysis.CSharp (5)
Parser\DirectiveParser.cs (2)
82
case SyntaxKind.
DefineKeyword
:
255
if (keyword.Kind == SyntaxKind.
DefineKeyword
)
Syntax\SyntaxKindFacts.cs (3)
92
case SyntaxKind.
DefineKeyword
:
1131
return SyntaxKind.
DefineKeyword
;
1671
case SyntaxKind.
DefineKeyword
:
Microsoft.CodeAnalysis.CSharp.Features (1)
Completion\KeywordRecommenders\DefineKeywordRecommender.cs (1)
14
: base(SyntaxKind.
DefineKeyword
, isValidInPreprocessorContext: true)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (4)
Generated\Syntax.Test.xml.Generated.cs (4)
713
=> InternalSyntaxFactory.DefineDirectiveTrivia(InternalSyntaxFactory.Token(SyntaxKind.HashToken), InternalSyntaxFactory.Token(SyntaxKind.
DefineKeyword
), InternalSyntaxFactory.Identifier("Name"), InternalSyntaxFactory.Token(SyntaxKind.EndOfDirectiveToken), new bool());
3720
Assert.Equal(SyntaxKind.
DefineKeyword
, node.DefineKeyword.Kind);
10929
=> SyntaxFactory.DefineDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.HashToken), SyntaxFactory.Token(SyntaxKind.
DefineKeyword
), SyntaxFactory.Identifier("Name"), SyntaxFactory.Token(SyntaxKind.EndOfDirectiveToken), new bool());
13936
Assert.Equal(SyntaxKind.
DefineKeyword
, node.DefineKeyword.Kind());