Skip to content

Commit 3fe9f92

Browse files
authored
Merge pull request #746 from hvitved/csharp/is-valid-explicit-params-type
Approved by calumgrant
2 parents 201f68d + 0f7dc51 commit 3fe9f92

File tree

1 file changed

+1
-0
lines changed
  • csharp/ql/src/semmle/code/csharp/exprs

1 file changed

+1
-0
lines changed

csharp/ql/src/semmle/code/csharp/exprs/Call.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,7 @@ class Call extends DotNet::Call, Expr, @call {
287287
* }
288288
* ```
289289
*/
290+
pragma[nomagic]
290291
private predicate isValidExplicitParamsType(Parameter p, Type t) {
291292
p.isParams() and
292293
t.isImplicitlyConvertibleTo(p.getType())

0 commit comments

Comments
 (0)