14 references to LineKeyword
Microsoft.CodeAnalysis.CSharp (10)
Generated\Basic.CompilerLog.Util\Basic.CompilerLog.Util.Impl.BasicGeneratedFilesAnalyzerReference\Syntax.xml.Main.Generated.cs (6)
6511if (lineKeyword.Kind() != SyntaxKind.LineKeyword) throw new ArgumentException(nameof(lineKeyword)); 6531=> SyntaxFactory.LineDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.HashToken), SyntaxFactory.Token(SyntaxKind.LineKeyword), line, file, SyntaxFactory.Token(SyntaxKind.EndOfDirectiveToken), isActive); 6535=> SyntaxFactory.LineDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.HashToken), SyntaxFactory.Token(SyntaxKind.LineKeyword), line, default, SyntaxFactory.Token(SyntaxKind.EndOfDirectiveToken), isActive); 6556if (lineKeyword.Kind() != SyntaxKind.LineKeyword) throw new ArgumentException(nameof(lineKeyword)); 6573=> SyntaxFactory.LineSpanDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.HashToken), SyntaxFactory.Token(SyntaxKind.LineKeyword), start, SyntaxFactory.Token(SyntaxKind.MinusToken), end, characterOffset, file, SyntaxFactory.Token(SyntaxKind.EndOfDirectiveToken), isActive); 6577=> SyntaxFactory.LineSpanDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.HashToken), SyntaxFactory.Token(SyntaxKind.LineKeyword), start, SyntaxFactory.Token(SyntaxKind.MinusToken), end, default, file, SyntaxFactory.Token(SyntaxKind.EndOfDirectiveToken), isActive);
Parser\DirectiveParser.cs (1)
87case SyntaxKind.LineKeyword:
Syntax\SyntaxKindFacts.cs (3)
96case SyntaxKind.LineKeyword: 1212return SyntaxKind.LineKeyword; 1764case SyntaxKind.LineKeyword:
Microsoft.CodeAnalysis.CSharp.Features (4)
Completion\CompletionProviders\SnippetCompletionProvider.cs (1)
132SyntaxKind.LineKeyword or
Completion\KeywordRecommenders\DefaultKeywordRecommender.cs (1)
35previousToken1.Kind() == SyntaxKind.LineKeyword &&
Completion\KeywordRecommenders\HiddenKeywordRecommender.cs (1)
24previousToken1.Kind() == SyntaxKind.LineKeyword &&
Completion\KeywordRecommenders\LineKeywordRecommender.cs (1)
10internal sealed class LineKeywordRecommender() : AbstractSyntacticSingleKeywordRecommender(SyntaxKind.LineKeyword, isValidInPreprocessorContext: true)