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) {
6666}
6767
6868pragma [ nomagic]
69- private Location getASourceLocation ( Element e ) {
69+ private SourceLocation getASourceLocation ( Element e ) {
7070 result = e .getALocation ( ) .( SourceLocation ) and
7171 not exists ( e .getALocation ( ) .( SourceLocation ) .getMappedLocation ( ) )
7272 or
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ class EmptyLocation extends Location {
6363 */
6464class SourceLocation extends Location , @location_default {
6565 /** Gets the location that takes into account `#line` directives, if any. */
66- Location getMappedLocation ( ) {
66+ SourceLocation getMappedLocation ( ) {
6767 locations_mapped ( this , result ) and
6868 not exists ( LineDirective l | l .getALocation ( ) = this )
6969 }
You can’t perform that action at this time.
0 commit comments