Merge pull request #746 from hvitved/csharp/is-valid-explicit-params-type

Approved by calumgrant
This commit is contained in:
semmle-qlci
2019-01-14 08:43:30 +00:00
committed by GitHub

View File

@@ -287,6 +287,7 @@ class Call extends DotNet::Call, Expr, @call {
* }
* ```
*/
pragma[nomagic]
private predicate isValidExplicitParamsType(Parameter p, Type t) {
p.isParams() and
t.isImplicitlyConvertibleTo(p.getType())