mirror of
https://github.com/github/codeql.git
synced 2026-03-23 16:06:47 +01:00
9 lines
171 B
Plaintext
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
|