5 references to IfDirectiveTrivia
Microsoft.CodeAnalysis.Workspaces (5)
FindSymbols\Shared\AbstractSyntaxIndex.cs (1)
138
var ifDirectiveKind = syntaxKinds.
IfDirectiveTrivia
;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\SyntaxNodeExtensions.cs (2)
880
else if (trivia.RawKind == syntaxKinds.
IfDirectiveTrivia
||
922
if (poppedDirective.RawKind == syntaxKinds.
IfDirectiveTrivia
)
Workspace\Solution\DocumentState.cs (1)
358
if (existingTree.TryGetRoot(out var existingRoot) && !existingRoot.ContainsDirective(syntaxKinds.
IfDirectiveTrivia
))
Workspace\Solution\DocumentState_LinkedFileReuse.cs (1)
216
if (!siblingRoot.ContainsDirective(syntaxKinds.
IfDirectiveTrivia
))