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

10 lines
175 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()