Skip to content

Commit fa2f345

Browse files
committed
Revert "Simplify MissingCallTarget for calli"
This reverts commit 3b82abd.
1 parent faf69d6 commit fa2f345

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

csharp/ql/src/semmle/code/cil/ConsistencyChecks.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ class MissingCallTarget extends InstructionViolation {
8383
exists(Call c | c = instruction |
8484
count(c.getTarget()) != 1 and not c instanceof Opcodes::Calli
8585
or
86-
count(c.(Opcodes::Calli).getTargetType()) != 1
86+
count(c.(Opcodes::Calli).getTargetType()) != 1 and c instanceof Opcodes::Calli
8787
)
8888
}
8989

0 commit comments

Comments
 (0)