mirror of
https://github.com/github/codeql.git
synced 2026-02-28 04:43:42 +01:00
10 lines
175 B
Plaintext
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()
|