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