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

Member predicate SpecificCatchClause::getTypeAccess

Gets the type access of this catch clause, if it has no variable declaration.

For example, the type access in

try { ... }
catch (IOException) { ... }

is IOException.

TypeAccess getTypeAccess()