CodeQL library for C#
codeql/csharp-all 0.10.1 (changelog, source)
Search

Predicate Internal::nonNullValueImpliedUnary

Holds if expression e2 is a non-null value whenever e1 is.

Import path

import semmle.code.csharp.controlflow.Guards
predicate nonNullValueImpliedUnary(Expr e1, Expr e2)