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