Files
codeql/csharp/ql/test/library-tests/statements/Lock1.ql
2018-12-20 10:19:59 +01:00

9 lines
129 B
Plaintext

/**
* @name Test for locks
*/
import csharp
where forall(LockStmt s | exists(s.getExpr()) and exists(s.getBlock()))
select 1