mirror of
https://github.com/github/codeql.git
synced 2026-03-04 22:56:47 +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
|