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

Predicate strictlyPositiveExpr

Holds if e is strictly positive.

Import path

import semmle.code.csharp.dataflow.SignAnalysis
predicate strictlyPositiveExpr(Expr e)