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)
1461var d2 = d1.GetPreviousDirective(); 1464var d3 = d2.GetPreviousDirective(); 1467var d4 = d3.GetPreviousDirective(); 1470var d5 = d4.GetPreviousDirective(); 1498Assert.Null(firstDirective.GetPreviousDirective()); 1499Assert.Same(secondDirective.GetPreviousDirective(), firstDirective);