mirror of
https://github.com/github/codeql.git
synced 2026-04-29 18:55:14 +02:00
Merge pull request #746 from hvitved/csharp/is-valid-explicit-params-type
Approved by calumgrant
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user