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