Files
codeql/csharp/ql/test/library-tests/statements/TryCatch1.ql
2018-08-02 17:53:23 +01:00

9 lines
171 B
Plaintext

/**
* @name Test for try catches
*/
import csharp
where forall (TryStmt s | exists(s.getBlock()) and
(exists(s.getACatchClause()) or exists(s.getFinally())))
select 1