5 references to ContainsDirective
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (5)
Syntax\SyntaxNodeTests.cs (5)
351
Assert.False(SyntaxFactory.ParseCompilationUnit("").
ContainsDirective
(kind));
355
Assert.False(SyntaxFactory.ParseCompilationUnit("namespace N { }").
ContainsDirective
(kind));
368
Assert.False(compilationUnit.
ContainsDirective
(kind));
476
Assert.True(compilationUnit.
ContainsDirective
(directiveKind));
481
Assert.False(compilationUnit.
ContainsDirective
(kind));