Skip to content

Commit 8041f00

Browse files
committed
C#: Address more review comments.
1 parent e9c9519 commit 8041f00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

csharp/ql/lib/semmle/code/csharp/dataflow/internal/DataFlowPrivate.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1149,7 +1149,7 @@ private module Cached {
11491149
} or
11501150
TCapturedVariableContent(VariableCapture::CapturedVariable v) or
11511151
TDelegateCallArgumentContent(int i) {
1152-
i = [0 .. max(any(DelegateCall dc).getNumberOfArguments())]
1152+
i = [0 .. max(any(DelegateLikeCall dc).getNumberOfArguments()) - 1]
11531153
} or
11541154
TDelegateCallReturnContent()
11551155

0 commit comments

Comments
 (0)