mirror of
https://github.com/github/codeql.git
synced 2026-04-20 14:34:04 +02:00
C#: Update Parameters test to only inspect parameters from source code.
This commit is contained in:
@@ -4,5 +4,5 @@
|
||||
|
||||
import csharp
|
||||
|
||||
where forall(Parameter p | p.isParams() | p.getType() instanceof ArrayType)
|
||||
where forall(Parameter p | p.isParams() and p.fromSource() | p.getType() instanceof ArrayType)
|
||||
select 1
|
||||
|
||||
Reference in New Issue
Block a user