mirror of
https://github.com/github/codeql.git
synced 2026-04-22 15:25:18 +02:00
C#: Add postupdate nodes for arguments of struct type.
This commit is contained in:
@@ -540,6 +540,8 @@ module LocalFlow {
|
||||
not t instanceof NullType
|
||||
or
|
||||
t = any(TypeParameter tp | not tp.isValueType())
|
||||
or
|
||||
t.(Struct).isRef()
|
||||
) and
|
||||
not exists(getALastEvalNode(result))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user