23 references to PreprocessingMessageTrivia
Microsoft.CodeAnalysis.CSharp (3)
Syntax\InternalSyntax\SyntaxFactory.cs (1)
113
return SyntaxTrivia.Create(SyntaxKind.
PreprocessingMessageTrivia
, text);
Syntax\InternalSyntax\SyntaxTrivia.cs (1)
18
if (kind == SyntaxKind.
PreprocessingMessageTrivia
)
Syntax\SyntaxNormalizer.cs (1)
1234
if (trivia.Kind() == SyntaxKind.
PreprocessingMessageTrivia
|| trivia.Kind() == SyntaxKind.DisabledTextTrivia)
Microsoft.CodeAnalysis.CSharp.CodeStyle (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Engine\Trivia\TriviaDataFactory.Analyzer.cs (1)
118
SyntaxKind.
PreprocessingMessageTrivia
)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Engine\Trivia\TriviaDataFactory.CodeShapeAnalyzer.cs (3)
40
Contract.ThrowIfTrue(trivia.Kind() == SyntaxKind.
PreprocessingMessageTrivia
);
81
SyntaxKind.
PreprocessingMessageTrivia
)
216
not SyntaxKind.
PreprocessingMessageTrivia
)
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (11)
LexicalAndXml\PreprocessorTests.cs (10)
2106
Assert.Equal(SyntaxKind.
PreprocessingMessageTrivia
, regionText.Kind());
2128
Assert.Equal(SyntaxKind.
PreprocessingMessageTrivia
, regionText.Kind());
2216
Assert.Equal(SyntaxKind.
PreprocessingMessageTrivia
, regionText.Kind());
2237
Assert.Equal(SyntaxKind.
PreprocessingMessageTrivia
, regionText.Kind());
2258
Assert.Equal(SyntaxKind.
PreprocessingMessageTrivia
, regionText.Kind());
2279
Assert.Equal(SyntaxKind.
PreprocessingMessageTrivia
, regionText.Kind());
2300
Assert.Equal(SyntaxKind.
PreprocessingMessageTrivia
, regionText.Kind());
2321
Assert.Equal(SyntaxKind.
PreprocessingMessageTrivia
, regionText.Kind());
2342
Assert.Equal(SyntaxKind.
PreprocessingMessageTrivia
, regionText.Kind());
2363
Assert.Equal(SyntaxKind.
PreprocessingMessageTrivia
, regionText.Kind());
Parsing\ScriptParsingTests.cs (1)
9741
Assert.Equal(SyntaxKind.
PreprocessingMessageTrivia
, skippedText.Kind());
Microsoft.CodeAnalysis.CSharp.Workspaces (4)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Engine\Trivia\TriviaDataFactory.Analyzer.cs (1)
118
SyntaxKind.
PreprocessingMessageTrivia
)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\CSharp\Formatting\Engine\Trivia\TriviaDataFactory.CodeShapeAnalyzer.cs (3)
40
Contract.ThrowIfTrue(trivia.Kind() == SyntaxKind.
PreprocessingMessageTrivia
);
81
SyntaxKind.
PreprocessingMessageTrivia
)
216
not SyntaxKind.
PreprocessingMessageTrivia
)
Microsoft.VisualStudio.LanguageServices.CSharp (1)
LanguageService\CSharpHelpContextService.cs (1)
69
if (trivia.Span.IntersectsWith(span) && trivia.Kind() == SyntaxKind.
PreprocessingMessageTrivia
&&