39 references to PragmaWarningDirectiveTrivia
Microsoft.CodeAnalysis.CSharp (3)
Syntax\CSharpPragmaWarningStateMap.cs (1)
62if (!d.IsActive || d.Kind() != SyntaxKind.PragmaWarningDirectiveTrivia)
Syntax\DirectiveTriviaSyntax.cs (1)
49case SyntaxKind.PragmaWarningDirectiveTrivia:
Syntax\SyntaxKindFacts.cs (1)
260case SyntaxKind.PragmaWarningDirectiveTrivia:
Microsoft.CodeAnalysis.CSharp.CodeStyle (2)
ConvertProgramAnalysis_ProgramMain.cs (1)
72var lastPragma = root.GetFirstToken().LeadingTrivia.LastOrDefault(t => t.Kind() is SyntaxKind.PragmaWarningDirectiveTrivia);
SyntaxTriviaExtensions.cs (1)
203if (trivia.IsKind(SyntaxKind.PragmaWarningDirectiveTrivia))
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (2)
CommandLineTests.cs (2)
14647context.RegisterSyntaxNodeAction(AnalyzeNode, SyntaxKind.PragmaWarningDirectiveTrivia); 14699SyntaxKind.PragmaWarningDirectiveTrivia
Microsoft.CodeAnalysis.CSharp.Features (2)
CodeFixes\Suppression\CSharpSuppressionCodeFixProvider.cs (1)
222if (trivia.Kind() == SyntaxKind.PragmaWarningDirectiveTrivia)
ConvertProgramAnalysis_ProgramMain.cs (1)
72var lastPragma = root.GetFirstToken().LeadingTrivia.LastOrDefault(t => t.Kind() is SyntaxKind.PragmaWarningDirectiveTrivia);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (27)
LexicalAndXml\PreprocessorTests.cs (27)
3675PragmaKind = SyntaxKind.PragmaWarningDirectiveTrivia, 3692PragmaKind = SyntaxKind.PragmaWarningDirectiveTrivia, 3707PragmaKind = SyntaxKind.PragmaWarningDirectiveTrivia, 3723PragmaKind = SyntaxKind.PragmaWarningDirectiveTrivia, 3739PragmaKind = SyntaxKind.PragmaWarningDirectiveTrivia, 3756PragmaKind = SyntaxKind.PragmaWarningDirectiveTrivia, 3772PragmaKind = SyntaxKind.PragmaWarningDirectiveTrivia, 3788PragmaKind = SyntaxKind.PragmaWarningDirectiveTrivia, 3804PragmaKind = SyntaxKind.PragmaWarningDirectiveTrivia, 3820PragmaKind = SyntaxKind.PragmaWarningDirectiveTrivia, 3836PragmaKind = SyntaxKind.PragmaWarningDirectiveTrivia, 3852PragmaKind = SyntaxKind.PragmaWarningDirectiveTrivia, 3883PragmaKind = SyntaxKind.PragmaWarningDirectiveTrivia, 3908PragmaKind = SyntaxKind.PragmaWarningDirectiveTrivia, 3924PragmaKind = SyntaxKind.PragmaWarningDirectiveTrivia, 3940PragmaKind = SyntaxKind.PragmaWarningDirectiveTrivia, 3956PragmaKind = SyntaxKind.PragmaWarningDirectiveTrivia, 3972PragmaKind = SyntaxKind.PragmaWarningDirectiveTrivia, 3989PragmaKind = SyntaxKind.PragmaWarningDirectiveTrivia, 4006PragmaKind = SyntaxKind.PragmaWarningDirectiveTrivia, 4022PragmaKind = SyntaxKind.PragmaWarningDirectiveTrivia, 4038PragmaKind = SyntaxKind.PragmaWarningDirectiveTrivia, 4053PragmaKind = SyntaxKind.PragmaWarningDirectiveTrivia, 4068PragmaKind = SyntaxKind.PragmaWarningDirectiveTrivia, 4083PragmaKind = SyntaxKind.PragmaWarningDirectiveTrivia, 4099PragmaKind = SyntaxKind.PragmaWarningDirectiveTrivia, 4115PragmaKind = SyntaxKind.PragmaWarningDirectiveTrivia,
Microsoft.CodeAnalysis.CSharp.Workspaces (3)
Classification\Worker.cs (1)
220case SyntaxKind.PragmaWarningDirectiveTrivia:
Classification\Worker_Preprocesser.cs (1)
63case SyntaxKind.PragmaWarningDirectiveTrivia:
SyntaxTriviaExtensions.cs (1)
203if (trivia.IsKind(SyntaxKind.PragmaWarningDirectiveTrivia))