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)
1438
var d2 = d1.
GetPreviousDirective
();
1441
var d3 = d2.
GetPreviousDirective
();
1444
var d4 = d3.
GetPreviousDirective
();
1447
var d5 = d4.
GetPreviousDirective
();
1475
Assert.Null(firstDirective.
GetPreviousDirective
());
1476
Assert.Same(secondDirective.
GetPreviousDirective
(), firstDirective);