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

Predicate Internal::nullValueImpliedUnary

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

Import path

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