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