7 references to GetPreviousDirective
Microsoft.CodeAnalysis.CSharp (1)
Syntax\DirectiveTriviaSyntax.cs (1)
328
d = d.
GetPreviousDirective
();
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (6)
Syntax\SyntaxNodeTests.cs (6)
1461
var d2 = d1.
GetPreviousDirective
();
1464
var d3 = d2.
GetPreviousDirective
();
1467
var d4 = d3.
GetPreviousDirective
();
1470
var d5 = d4.
GetPreviousDirective
();
1498
Assert.Null(firstDirective.
GetPreviousDirective
());
1499
Assert.Same(secondDirective.
GetPreviousDirective
(), firstDirective);