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