C#: Let the params test look in reference assemblies and update params to allow ParamsCollectionType.

This commit is contained in:
Michael Nebel
2024-12-20 09:06:52 +01:00
parent c8e72c08fb
commit 4b7a6c5c7f

View File

@@ -3,6 +3,7 @@
*/
import csharp
import semmle.code.csharp.commons.Collections
where forall(Parameter p | p.isParams() and p.fromSource() | p.getType() instanceof ArrayType)
where forall(Parameter p | p.isParams() | p.getType() instanceof ParamsCollectionType)
select 1