mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
12 lines
178 B
Plaintext
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()
|