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

12 lines
178 B
Plaintext

/**
* @name Test for locks
*/
import csharp
from Method m, LockStmt s
where
s.getEnclosingCallable() = m and
m.getName() = "Withdraw"
select s, s.getExpr(), s.getBlock()