5 references to DirectiveNameToken
Microsoft.CodeAnalysis.CSharp.Features (3)
BraceMatching\CSharpDirectiveTriviaBraceMatcher.cs (1)
36
=> TextSpan.FromBounds(directive.HashToken.SpanStart, directive.
DirectiveNameToken
.Span.End);
Highlighting\KeywordHighlighters\RegionHighlighter.cs (1)
39
directive.
DirectiveNameToken
.Span.End));
Structure\Providers\RegionDirectiveStructureProvider.cs (1)
18
var kw = simpleDirective.
DirectiveNameToken
;
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (2)
Diagnostics\LineSpanDirectiveTests.cs (1)
466
Assert.NotEqual(SyntaxKind.None, directive.
DirectiveNameToken
.Kind());
LexicalAndXml\PreprocessorTests.cs (1)
279
Assert.Equal(SyntaxKind.NullableKeyword, nn.
DirectiveNameToken
.Kind());