Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5144f89 commit f8870e7Copy full SHA for f8870e7
1 file changed
csharp/ql/src/Language Abuse/ForeachCapture.ql
@@ -82,7 +82,6 @@ Element getCollectionAssignmentTarget(Expr e) {
82
ief = mc.getQualifier().getType().getSourceDeclaration() and
83
m = mc.getTarget().getSourceDeclaration() and
84
ief.callableFlow(source, sink, m, _) and
85
- source.getCallable() = m and
86
source.getArgumentIndex() = i and
87
e = mc.getArgument(i)
88
)
0 commit comments