Skip to content

Commit 9df7a2f

Browse files
committed
C#: Exclude function pointer calls for the DB isNotOk missing target.
1 parent 4b095f3 commit 9df7a2f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

csharp/ql/src/Telemetry/DatabaseQuality.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ module CallTargetStats implements StatsSig {
6363

6464
additional predicate isNotOkCall(Call c) {
6565
not exists(c.getTarget()) and
66-
not c instanceof DelegateCall and
66+
not c instanceof DelegateLikeCall and
6767
not c instanceof DynamicExpr and
6868
not isNoSetterPropertyCallInConstructor(c) and
6969
not isNoSetterPropertyInitialization(c) and

0 commit comments

Comments
 (0)