10 references to DefineKeyword
Microsoft.CodeAnalysis.CSharp (5)
Parser\DirectiveParser.cs (2)
77case SyntaxKind.DefineKeyword: 247if (keyword.Kind == SyntaxKind.DefineKeyword)
Syntax\SyntaxKindFacts.cs (3)
92case SyntaxKind.DefineKeyword: 1131return SyntaxKind.DefineKeyword; 1671case 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()); 3720Assert.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()); 13936Assert.Equal(SyntaxKind.DefineKeyword, node.DefineKeyword.Kind());