27 references to ErrorDirectiveTrivia
Microsoft.CodeAnalysis.CSharp (2)
Syntax\DirectiveTriviaSyntax.cs (1)
35case SyntaxKind.ErrorDirectiveTrivia:
Syntax\SyntaxKindFacts.cs (1)
284case SyntaxKind.ErrorDirectiveTrivia:
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (23)
LexicalAndXml\PreprocessorTests.cs (22)
197case SyntaxKind.ErrorDirectiveTrivia: 1785SyntaxKind.IfDirectiveTrivia, SyntaxKind.ErrorDirectiveTrivia, SyntaxKind.ElifDirectiveTrivia, SyntaxKind.ElseDirectiveTrivia, SyntaxKind.ErrorDirectiveTrivia, SyntaxKind.EndIfDirectiveTrivia, 1786SyntaxKind.IfDirectiveTrivia, SyntaxKind.ElseDirectiveTrivia, SyntaxKind.ErrorDirectiveTrivia, SyntaxKind.EndIfDirectiveTrivia, 1787SyntaxKind.IfDirectiveTrivia, SyntaxKind.ElseDirectiveTrivia, SyntaxKind.ErrorDirectiveTrivia, SyntaxKind.EndIfDirectiveTrivia, 1788SyntaxKind.IfDirectiveTrivia, SyntaxKind.ElseDirectiveTrivia, SyntaxKind.ErrorDirectiveTrivia, SyntaxKind.EndIfDirectiveTrivia); 2956VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.ErrorDirectiveTrivia, Status = NodeStatus.IsActive }); 2982new DirectiveInfo { Kind = SyntaxKind.ErrorDirectiveTrivia, Status = NodeStatus.IsNotActive }, 3112VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.ErrorDirectiveTrivia, Status = NodeStatus.IsActive }); 3134VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.ErrorDirectiveTrivia, Status = NodeStatus.IsActive }); 3145VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.ErrorDirectiveTrivia, Status = NodeStatus.IsActive }); 3156VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.ErrorDirectiveTrivia, Status = NodeStatus.IsActive }); 3167VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.ErrorDirectiveTrivia, Status = NodeStatus.IsActive }); 3178VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.ErrorDirectiveTrivia, Status = NodeStatus.IsActive }); 3191VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.ErrorDirectiveTrivia, Status = NodeStatus.IsActive }); 3236Kind = SyntaxKind.ErrorDirectiveTrivia, 3259Kind = SyntaxKind.ErrorDirectiveTrivia, 3282Kind = SyntaxKind.ErrorDirectiveTrivia, 3302VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.ErrorDirectiveTrivia, Status = NodeStatus.IsActive }); 3313VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.ErrorDirectiveTrivia, Status = NodeStatus.IsActive }); 3324VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.ErrorDirectiveTrivia, Status = NodeStatus.IsActive }); 3335VerifyDirectivesSpecial(node, new DirectiveInfo { Kind = SyntaxKind.ErrorDirectiveTrivia, Status = NodeStatus.IsActive });
Syntax\SyntaxNodeTests.cs (1)
382testContainsHelper1("#error", SyntaxKind.ErrorDirectiveTrivia);
Microsoft.CodeAnalysis.CSharp.Workspaces (2)
Classification\Worker.cs (1)
244case SyntaxKind.ErrorDirectiveTrivia:
Classification\Worker_Preprocesser.cs (1)
39case SyntaxKind.ErrorDirectiveTrivia: