Skip to content

Commit f8bb00a

Browse files
committed
C#: Cache Call::getArgumentForParameter()
1 parent a382a58 commit f8bb00a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • csharp/ql/src/semmle/code/csharp/exprs

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class Call extends DotNet::Call, Expr, @call {
7676
* }
7777
* ```
7878
*/
79-
pragma[nomagic]
79+
cached
8080
override Expr getArgumentForParameter(DotNet::Parameter p) {
8181
getTarget().getAParameter() = p and
8282
(

0 commit comments

Comments
 (0)