17 references to ContainsDirectives
Microsoft.CodeAnalysis (4)
Syntax\SyntaxNode.cs (2)
442
public bool ContainsDirectives => this.Green.
ContainsDirectives
;
463
if (current is not {
ContainsDirectives
: true })
Syntax\SyntaxNodeOrToken.cs (1)
489
return _token.
ContainsDirectives
;
Syntax\SyntaxToken.cs (1)
222
public bool ContainsDirectives => Node?.
ContainsDirectives
?? false;
Microsoft.CodeAnalysis.CSharp (4)
Syntax\InternalSyntax\CSharpSyntaxNode.cs (2)
165
if (node.
ContainsDirectives
)
211
if (node != null && node.
ContainsDirectives
)
Syntax\InternalSyntax\SyntaxToken.cs (2)
376
if (this.
ContainsDirectives
)
387
if (triviaList != null && triviaList.
ContainsDirectives
)
Microsoft.CodeAnalysis.VisualBasic (9)
Parser\BlockContexts\CompilationUnitContext.vb (2)
524
If node Is Nothing OrElse Not node.
ContainsDirectives
Then
532
If token Is Nothing OrElse Not token.
ContainsDirectives
Then
Scanner\Blender.vb (2)
452
If node.
ContainsDirectives
AndAlso Not TypeOf node Is DirectiveTriviaSyntax Then
514
If _currentNode.
ContainsDirectives
Then
Scanner\Directives.vb (5)
121
If node.
ContainsDirectives
Then
129
Debug.Assert(node.
ContainsDirectives
, "we should not be processing nodes without Directives")
147
If child IsNot Nothing AndAlso child.
ContainsDirectives
Then
159
If trivia IsNot Nothing AndAlso trivia.
ContainsDirectives
Then
164
If trivia IsNot Nothing AndAlso trivia.
ContainsDirectives
Then