Skip to content

Commit af380f8

Browse files
committed
C#: Add support in the extractor for the LineSpanDirective.
1 parent 195d40c commit af380f8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

csharp/extractor/Semmle.Extraction.CSharp/Populators/DirectiveVisitor.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ public override void VisitLineDirectiveTrivia(LineDirectiveTriviaSyntax node)
6262
Entities.LineDirective.Create(cx, node);
6363
}
6464

65+
public override void VisitLineSpanDirectiveTrivia(LineSpanDirectiveTriviaSyntax node) =>
66+
Entities.LineSpanDirective.Create(cx, node);
67+
6568
private readonly Stack<Entities.RegionDirective> regionStarts = new Stack<Entities.RegionDirective>();
6669

6770
public override void VisitRegionDirectiveTrivia(RegionDirectiveTriviaSyntax node)

0 commit comments

Comments
 (0)