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