Skip to content

Commit b42c366

Browse files
committed
C#: Address review comments.
1 parent 4b0c725 commit b42c366

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ predicate defaultTaintSanitizer(DataFlow::Node node) {
3131
*/
3232
bindingset[node]
3333
predicate defaultImplicitTaintRead(DataFlow::Node node, DataFlow::ContentSet c) {
34-
node instanceof ArgumentNode and
35-
Collections::isCollectionType(node.getType()) and
34+
exists(node) and
3635
c.isElement()
3736
}
3837

0 commit comments

Comments
 (0)