File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed
csharp/ql/lib/semmle/code/csharp/dataflow/internal Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change @@ -423,13 +423,11 @@ module LocalFlow {
423
423
ControlFlow:: Nodes:: ExprNode getAPostUpdateNodeForArg ( ControlFlow:: Nodes:: ExprNode arg ) {
424
424
arg .getExpr ( ) instanceof Argument and
425
425
result = getALastEvalNode * ( arg ) and
426
- exists ( Expr e | result .getExpr ( ) = e |
427
- exists ( Type t | t = e .stripCasts ( ) .getType ( ) |
428
- t instanceof RefType and
429
- not t instanceof NullType
430
- or
431
- t = any ( TypeParameter tp | not tp .isValueType ( ) )
432
- )
426
+ exists ( Expr e , Type t | result .getExpr ( ) = e and t = e .stripCasts ( ) .getType ( ) |
427
+ t instanceof RefType and
428
+ not t instanceof NullType
429
+ or
430
+ t = any ( TypeParameter tp | not tp .isValueType ( ) )
433
431
) and
434
432
not exists ( getALastEvalNode ( result ) )
435
433
}
You can’t perform that action at this time.
0 commit comments