8 references to IsPreprocessorKeyword
Microsoft.CodeAnalysis.VisualBasic (1)
VisualBasicExtensions.vb (1)
376Return SyntaxFacts.IsPreprocessorKeyword(token.Kind())
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (1)
StructuredTriviaFormattingRule.vb (1)
26If previousToken.Kind = SyntaxKind.HashToken AndAlso SyntaxFacts.IsPreprocessorKeyword(CType(currentToken.Kind, SyntaxKind)) Then
Microsoft.CodeAnalysis.VisualBasic.Syntax.UnitTests (5)
Syntax\SyntaxFactsTest.vb (5)
767Assert.True(SyntaxFacts.IsPreprocessorKeyword(SyntaxKind.ExternalSourceKeyword)) 768Assert.True(SyntaxFacts.IsPreprocessorKeyword(SyntaxKind.EnableKeyword)) 769Assert.True(SyntaxFacts.IsPreprocessorKeyword(SyntaxKind.DisableKeyword)) 770Assert.True(SyntaxFacts.IsPreprocessorKeyword(SyntaxKind.IfKeyword)) 771Assert.False(SyntaxFacts.IsPreprocessorKeyword(SyntaxKind.FromKeyword))
Microsoft.CodeAnalysis.VisualBasic.Workspaces (1)
Formatting\Rules\StructuredTriviaFormattingRule.vb (1)
26If previousToken.Kind = SyntaxKind.HashToken AndAlso SyntaxFacts.IsPreprocessorKeyword(CType(currentToken.Kind, SyntaxKind)) Then