8 references to IsPreprocessorKeyword
Microsoft.CodeAnalysis.CSharp (3)
Syntax\SyntaxKindFacts.cs (2)
128
return
IsPreprocessorKeyword
(kind);
151
return IsPunctuation(kind) && !
IsPreprocessorKeyword
(kind) && !IsDebuggerSpecialPunctuation(kind);
Syntax\SyntaxNormalizer.cs (1)
1264
return SyntaxFacts.IsKeywordKind(kind) || SyntaxFacts.
IsPreprocessorKeyword
(kind);
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
CSharpSyntaxFacts.cs (1)
115
=> SyntaxFacts.
IsPreprocessorKeyword
(token.Kind());
StructuredTriviaFormattingRule.cs (1)
29
if (previousToken.Kind() == SyntaxKind.HashToken && SyntaxFacts.
IsPreprocessorKeyword
(currentToken.Kind()))
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (1)
LexicalAndXml\PreprocessorTests.cs (1)
281
Assert.True(SyntaxFacts.
IsPreprocessorKeyword
(SyntaxKind.NullableKeyword));
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
CSharpSyntaxFacts.cs (1)
115
=> SyntaxFacts.
IsPreprocessorKeyword
(token.Kind());
StructuredTriviaFormattingRule.cs (1)
29
if (previousToken.Kind() == SyntaxKind.HashToken && SyntaxFacts.
IsPreprocessorKeyword
(currentToken.Kind()))