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

Predicate Cached::alwaysThrowsMethod

Holds if method m always throws an exception.

Import path

import semmle.code.cil.CallableReturns
predicate alwaysThrowsMethod(Method m)