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

Predicate strictlyPositiveExpr

Holds if e is strictly positive.

Import path

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