File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
csharp/ql/lib/semmle/code/csharp Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ private ControlFlowElement getBody(Callable c) {
66
66
}
67
67
68
68
pragma [ nomagic]
69
- private Location getASourceLocation ( Element e ) {
69
+ private SourceLocation getASourceLocation ( Element e ) {
70
70
result = e .getALocation ( ) .( SourceLocation ) and
71
71
not exists ( e .getALocation ( ) .( SourceLocation ) .getMappedLocation ( ) )
72
72
or
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ class EmptyLocation extends Location {
63
63
*/
64
64
class SourceLocation extends Location , @location_default {
65
65
/** Gets the location that takes into account `#line` directives, if any. */
66
- Location getMappedLocation ( ) {
66
+ SourceLocation getMappedLocation ( ) {
67
67
locations_mapped ( this , result ) and
68
68
not exists ( LineDirective l | l .getALocation ( ) = this )
69
69
}
You can’t perform that action at this time.
0 commit comments