Skip to content

Commit d83f221

Browse files
committed
C#: Update Parameters test to only inspect parameters from source code.
1 parent f94aaee commit d83f221

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

csharp/ql/test/library-tests/methods/Parameters4.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44

55
import csharp
66

7-
where forall(Parameter p | p.isParams() | p.getType() instanceof ArrayType)
7+
where forall(Parameter p | p.isParams() and p.fromSource() | p.getType() instanceof ArrayType)
88
select 1

0 commit comments

Comments
 (0)