mirror of
https://github.com/github/codeql.git
synced 2026-02-28 21:03:50 +01:00
8 lines
128 B
Plaintext
8 lines
128 B
Plaintext
/**
|
|
* @name Test for locks
|
|
*/
|
|
import csharp
|
|
|
|
where forall(LockStmt s | exists(s.getExpr()) and exists(s.getBlock()))
|
|
select 1
|