mirror of
https://github.com/github/codeql.git
synced 2026-03-22 15:36:48 +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
|