CodeQL library for C#
codeql/csharp-all 0.9.2-dev (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)