Skip to content

Commit 7af9d75

Browse files
committed
C#: Add locations for more CIL methods
1 parent ab2e0fd commit 7af9d75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

csharp/ql/lib/semmle/code/cil/Method.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ class Method extends DotNet::Callable, Element, Member, TypeContainer, DataFlowN
8989

9090
override Location getLocation() { result = Element.super.getLocation() }
9191

92-
override Location getALocation() { cil_method_location(this.getUnboundDeclaration(), result) }
92+
override Location getALocation() { cil_method_location(this.getUnboundMethod+(), result) }
9393

9494
override MethodParameter getParameter(int n) {
9595
if this.isStatic()

0 commit comments

Comments
 (0)