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

8 lines
128 B
Plaintext

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