7 references to GetPreviousDirective
Microsoft.CodeAnalysis.CSharp (1)
Syntax\DirectiveTriviaSyntax.cs (1)
328d = d.GetPreviousDirective();
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (6)
Syntax\SyntaxNodeTests.cs (6)
1438var d2 = d1.GetPreviousDirective(); 1441var d3 = d2.GetPreviousDirective(); 1444var d4 = d3.GetPreviousDirective(); 1447var d5 = d4.GetPreviousDirective(); 1475Assert.Null(firstDirective.GetPreviousDirective()); 1476Assert.Same(secondDirective.GetPreviousDirective(), firstDirective);