Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f8870e7

Browse files
committed
C#: Fix test.
1 parent 5144f89 commit f8870e7

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

csharp/ql/src/Language Abuse/ForeachCapture.ql

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ Element getCollectionAssignmentTarget(Expr e) {
8282
ief = mc.getQualifier().getType().getSourceDeclaration() and
8383
m = mc.getTarget().getSourceDeclaration() and
8484
ief.callableFlow(source, sink, m, _) and
85-
source.getCallable() = m and
8685
source.getArgumentIndex() = i and
8786
e = mc.getArgument(i)
8887
)

0 commit comments

Comments
 (0)