Skip to content

Commit efbbdcb

Browse files
committed
C#: Adjust the empty location to point to the unique generated empty location.
1 parent 53fb4b0 commit efbbdcb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

csharp/ql/lib/semmle/code/csharp/Location.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ class Location extends @location {
7575

7676
/** An empty location. */
7777
class EmptyLocation extends Location {
78-
EmptyLocation() { this.hasLocationInfo("", 0, 0, 0, 0) }
78+
EmptyLocation() { this.hasLocationInfo("", -1, -1, -1, -1) }
7979
}
8080

8181
/**

0 commit comments

Comments
 (0)