89 references to LineKeyword
Microsoft.CodeAnalysis.CSharp (4)
Parser\DirectiveParser.cs (1)
92
case SyntaxKind.
LineKeyword
:
Syntax\SyntaxKindFacts.cs (3)
96
case SyntaxKind.
LineKeyword
:
1139
return SyntaxKind.
LineKeyword
;
1679
case SyntaxKind.
LineKeyword
:
Microsoft.CodeAnalysis.CSharp.Features (4)
Completion\CompletionProviders\SnippetCompletionProvider.cs (1)
135
SyntaxKind.
LineKeyword
or
Completion\KeywordRecommenders\DefaultKeywordRecommender.cs (1)
40
previousToken1.Kind() == SyntaxKind.
LineKeyword
&&
Completion\KeywordRecommenders\HiddenKeywordRecommender.cs (1)
29
previousToken1.Kind() == SyntaxKind.
LineKeyword
&&
Completion\KeywordRecommenders\LineKeywordRecommender.cs (1)
13
: base(SyntaxKind.
LineKeyword
, isValidInPreprocessorContext: true)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (81)
Generated\Syntax.Test.xml.Generated.cs (8)
719
=> InternalSyntaxFactory.LineDirectiveTrivia(InternalSyntaxFactory.Token(SyntaxKind.HashToken), InternalSyntaxFactory.Token(SyntaxKind.
LineKeyword
), InternalSyntaxFactory.Literal(null, "1", 1, null), null, InternalSyntaxFactory.Token(SyntaxKind.EndOfDirectiveToken), new bool());
725
=> InternalSyntaxFactory.LineSpanDirectiveTrivia(InternalSyntaxFactory.Token(SyntaxKind.HashToken), InternalSyntaxFactory.Token(SyntaxKind.
LineKeyword
), GenerateLineDirectivePosition(), InternalSyntaxFactory.Token(SyntaxKind.MinusToken), GenerateLineDirectivePosition(), null, InternalSyntaxFactory.Literal(null, "string", "string", null), InternalSyntaxFactory.Token(SyntaxKind.EndOfDirectiveToken), new bool());
3748
Assert.Equal(SyntaxKind.
LineKeyword
, node.LineKeyword.Kind);
3777
Assert.Equal(SyntaxKind.
LineKeyword
, node.LineKeyword.Kind);
10935
=> SyntaxFactory.LineDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.HashToken), SyntaxFactory.Token(SyntaxKind.
LineKeyword
), SyntaxFactory.Literal("1", 1), default(SyntaxToken), SyntaxFactory.Token(SyntaxKind.EndOfDirectiveToken), new bool());
10941
=> SyntaxFactory.LineSpanDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.HashToken), SyntaxFactory.Token(SyntaxKind.
LineKeyword
), GenerateLineDirectivePosition(), SyntaxFactory.Token(SyntaxKind.MinusToken), GenerateLineDirectivePosition(), default(SyntaxToken), SyntaxFactory.Literal("string", "string"), SyntaxFactory.Token(SyntaxKind.EndOfDirectiveToken), new bool());
13964
Assert.Equal(SyntaxKind.
LineKeyword
, node.LineKeyword.Kind());
13993
Assert.Equal(SyntaxKind.
LineKeyword
, node.LineKeyword.Kind());
LexicalAndXml\PreprocessorTests.cs (2)
227
Assert.Equal(SyntaxKind.
LineKeyword
, ld.LineKeyword.Kind());
232
Assert.Equal(SyntaxKind.
LineKeyword
, ld.LineKeyword.Kind());
Parsing\LineSpanDirectiveParsingTests.cs (70)
54
N(SyntaxKind.
LineKeyword
);
95
N(SyntaxKind.
LineKeyword
);
136
N(SyntaxKind.
LineKeyword
);
172
N(SyntaxKind.
LineKeyword
);
206
N(SyntaxKind.
LineKeyword
);
247
N(SyntaxKind.
LineKeyword
);
281
N(SyntaxKind.
LineKeyword
);
325
N(SyntaxKind.
LineKeyword
);
360
N(SyntaxKind.
LineKeyword
);
398
N(SyntaxKind.
LineKeyword
);
435
N(SyntaxKind.
LineKeyword
);
472
N(SyntaxKind.
LineKeyword
);
509
N(SyntaxKind.
LineKeyword
);
546
N(SyntaxKind.
LineKeyword
);
583
N(SyntaxKind.
LineKeyword
);
620
N(SyntaxKind.
LineKeyword
);
657
N(SyntaxKind.
LineKeyword
);
694
N(SyntaxKind.
LineKeyword
);
731
N(SyntaxKind.
LineKeyword
);
768
N(SyntaxKind.
LineKeyword
);
805
N(SyntaxKind.
LineKeyword
);
849
N(SyntaxKind.
LineKeyword
);
869
N(SyntaxKind.
LineKeyword
);
906
N(SyntaxKind.
LineKeyword
);
943
N(SyntaxKind.
LineKeyword
);
980
N(SyntaxKind.
LineKeyword
);
1017
N(SyntaxKind.
LineKeyword
);
1054
N(SyntaxKind.
LineKeyword
);
1091
N(SyntaxKind.
LineKeyword
);
1128
N(SyntaxKind.
LineKeyword
);
1165
N(SyntaxKind.
LineKeyword
);
1202
N(SyntaxKind.
LineKeyword
);
1239
N(SyntaxKind.
LineKeyword
);
1276
N(SyntaxKind.
LineKeyword
);
1313
N(SyntaxKind.
LineKeyword
);
1350
N(SyntaxKind.
LineKeyword
);
1387
N(SyntaxKind.
LineKeyword
);
1424
N(SyntaxKind.
LineKeyword
);
1461
N(SyntaxKind.
LineKeyword
);
1498
N(SyntaxKind.
LineKeyword
);
1535
N(SyntaxKind.
LineKeyword
);
1572
N(SyntaxKind.
LineKeyword
);
1609
N(SyntaxKind.
LineKeyword
);
1658
N(SyntaxKind.
LineKeyword
);
1693
N(SyntaxKind.
LineKeyword
);
1743
N(SyntaxKind.
LineKeyword
);
1778
N(SyntaxKind.
LineKeyword
);
1815
N(SyntaxKind.
LineKeyword
);
1852
N(SyntaxKind.
LineKeyword
);
1886
N(SyntaxKind.
LineKeyword
);
1924
N(SyntaxKind.
LineKeyword
);
1946
N(SyntaxKind.
LineKeyword
);
1967
N(SyntaxKind.
LineKeyword
);
1989
N(SyntaxKind.
LineKeyword
);
2013
N(SyntaxKind.
LineKeyword
);
2035
N(SyntaxKind.
LineKeyword
);
2059
N(SyntaxKind.
LineKeyword
);
2081
N(SyntaxKind.
LineKeyword
);
2107
N(SyntaxKind.
LineKeyword
);
2133
N(SyntaxKind.
LineKeyword
);
2159
N(SyntaxKind.
LineKeyword
);
2185
N(SyntaxKind.
LineKeyword
);
2206
N(SyntaxKind.
LineKeyword
);
2244
N(SyntaxKind.
LineKeyword
);
2285
N(SyntaxKind.
LineKeyword
);
2323
N(SyntaxKind.
LineKeyword
);
2361
N(SyntaxKind.
LineKeyword
);
2399
N(SyntaxKind.
LineKeyword
);
2438
N(SyntaxKind.
LineKeyword
);
2477
N(SyntaxKind.
LineKeyword
);
Syntax\SyntaxNormalizerTests.cs (1)
3660
SyntaxFactory.Token(SyntaxKind.
LineKeyword
),