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 6a31fd7 commit e62846eCopy full SHA for e62846e
csharp/ql/lib/semmle/code/csharp/dataflow/Nullness.qll
@@ -526,7 +526,11 @@ class Dereference extends G::DereferenceableExpr {
526
not underlyingType instanceof NullableType
527
)
528
) else (
529
- this = any(QualifiableExpr qe | not qe.isConditional()).getQualifier() and
+ this =
530
+ any(QualifiableExpr qe |
531
+ not qe.isConditional() and
532
+ not qe.(MethodCall).isImplicit()
533
+ ).getQualifier() and
534
not this instanceof ThisAccess and
535
not this instanceof BaseAccess and
536
not this instanceof TypeAccess
0 commit comments