11 references to ErrorKeyword
Microsoft.CodeAnalysis.CSharp (5)
Parser\DirectiveParser.cs (2)
87case SyntaxKind.ErrorKeyword: 290bool isError = keyword.Kind == SyntaxKind.ErrorKeyword;
Syntax\SyntaxKindFacts.cs (3)
95case SyntaxKind.ErrorKeyword: 1137return SyntaxKind.ErrorKeyword; 1677case SyntaxKind.ErrorKeyword:
Microsoft.CodeAnalysis.CSharp.Features (2)
Completion\CompletionProviders\SnippetCompletionProvider.cs (1)
134SyntaxKind.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()); 3681Assert.Equal(SyntaxKind.ErrorKeyword, node.ErrorKeyword.Kind); 10920=> SyntaxFactory.ErrorDirectiveTrivia(SyntaxFactory.Token(SyntaxKind.HashToken), SyntaxFactory.Token(SyntaxKind.ErrorKeyword), SyntaxFactory.Token(SyntaxKind.EndOfDirectiveToken), new bool()); 13897Assert.Equal(SyntaxKind.ErrorKeyword, node.ErrorKeyword.Kind());