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

Predicate strictlyPositive

Holds if e is strictly positive.

Import path

import semmle.code.csharp.dataflow.SignAnalysis
predicate strictlyPositive(ExprNode e)