Skip to content

Commit 8521340

Browse files
committed
Use only bind-out to fix join order.
1 parent edf1a90 commit 8521340

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

csharp/ql/src/semmle/code/csharp/dispatch/Dispatch.qll

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,8 @@ private module Internal {
387387
result = this.getAStaticTarget()
388388
or
389389
result.getUnboundDeclaration() =
390-
this.getASubsumedStaticTarget0(Gvn::getGlobalValueNumber(result.getDeclaringType()))
390+
this.getASubsumedStaticTarget0(pragma[only_bind_out](Gvn::getGlobalValueNumber(result
391+
.getDeclaringType())))
391392
}
392393

393394
/**

0 commit comments

Comments
 (0)