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