mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
Merge pull request #892 from hvitved/csharp/get-arg-for-param-bad-magic
C#: Prevent bad magic in `getArgumentForParameter()`
This commit is contained in:
@@ -76,6 +76,7 @@ class Call extends DotNet::Call, Expr, @call {
|
||||
* }
|
||||
* ```
|
||||
*/
|
||||
pragma[nomagic]
|
||||
override Expr getArgumentForParameter(DotNet::Parameter p) {
|
||||
getTarget().getAParameter() = p and
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user