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

Member predicate ThrowElement::getExpr

Gets the expression of the exception being thrown, if any.

For example, new Exception("Syntax error") in throw new Exception("Syntax error");.

Expr getExpr()