We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0d70f3 commit 3d9c0cbCopy full SHA for 3d9c0cb
csharp/ql/lib/semmle/code/csharp/dataflow/Nullness.qll
@@ -43,6 +43,12 @@ private Expr maybeNullExpr(Expr reason) {
43
)
44
or
45
result.(NullCoalescingExpr).getRightOperand() = maybeNullExpr(reason)
46
+ or
47
+ result =
48
+ any(QualifiableExpr qe |
49
+ qe.isConditional() and
50
+ qe.getQualifier() = maybeNullExpr(reason)
51
+ )
52
}
53
54
/** An expression that may be `null`. */
0 commit comments