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

Member predicate ThrowExpr::getExpr

Gets the expression of the exception being thrown.

For example, new ArgumentException("i") in return i != 0 ? 1 / i : throw new ArgumentException("i");.

Expr getExpr()