mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
9 lines
129 B
Plaintext
9 lines
129 B
Plaintext
/**
|
|
* @name Test for locks
|
|
*/
|
|
|
|
import csharp
|
|
|
|
where forall(LockStmt s | exists(s.getExpr()) and exists(s.getBlock()))
|
|
select 1
|