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

Predicate Internal::nullValue

Holds if expression e is a null value.

Import path

import semmle.code.csharp.controlflow.Guards
predicate nullValue(Expr e)