11 references to ErrorKeyword
Microsoft.CodeAnalysis.CSharp (5)
Parser\DirectiveParser.cs (2)
82
case SyntaxKind.
ErrorKeyword
:
282
bool isError = keyword.Kind == SyntaxKind.
ErrorKeyword
;
Syntax\SyntaxKindFacts.cs (3)
95
case SyntaxKind.
ErrorKeyword
:
1137
return SyntaxKind.
ErrorKeyword
;
1677
case SyntaxKind.
ErrorKeyword
:
Microsoft.CodeAnalysis.CSharp.Features (2)
Completion\CompletionProviders\SnippetCompletionProvider.cs (1)
134
SyntaxKind.
ErrorKeyword
or
Completion\KeywordRecommenders\ErrorKeywordRecommender.cs (1)
13
: base(SyntaxKind.
ErrorKeyword
, isValidInPreprocessorContext: true)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (4)
Generated\Syntax.Test.xml.Generated.cs (4)
704
=> InternalSyntaxFactory.ErrorDirectiveTrivia(InternalSyntaxFactory.Token(SyntaxKind.HashToken), InternalSyntaxFactory.Token(SyntaxKind.
ErrorKeyword
), InternalSyntaxFactory.Token(SyntaxKind.EndOfDirectiveToken), new bool());
3681
Assert.Equal(SyntaxKind.
ErrorKeyword
, node.ErrorKeyword.Kind);
10920
=> SyntaxFactory.ErrorDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.HashToken), SyntaxFactory.Token(SyntaxKind.
ErrorKeyword
), SyntaxFactory.Token(SyntaxKind.EndOfDirectiveToken), new bool());
13897
Assert.Equal(SyntaxKind.
ErrorKeyword
, node.ErrorKeyword.Kind());