mirror of
https://github.com/github/codeql.git
synced 2026-03-22 07:26:45 +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()
|