mirror of
https://github.com/github/codeql.git
synced 2026-04-24 00:05:14 +02:00
Merge pull request #13966 from hvitved/csharp/mad-repr-fix
C#: Fix `getMadRepresentationSpecific`
This commit is contained in:
@@ -205,10 +205,9 @@ string getMadRepresentationSpecific(SummaryComponent sc) {
|
||||
or
|
||||
sc = TWithContentSummaryComponent(_) and result = "WithElement"
|
||||
or
|
||||
exists(ReturnKind rk |
|
||||
exists(OutRefReturnKind rk |
|
||||
sc = TReturnSummaryComponent(rk) and
|
||||
not rk = getReturnValueKind() and
|
||||
result = "ReturnValue[" + rk + "]"
|
||||
result = "Argument[" + rk.getPosition() + "]"
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user