mirror of
https://github.com/github/codeql.git
synced 2026-04-27 17:55:19 +02:00
10 lines
177 B
Plaintext
10 lines
177 B
Plaintext
/**
|
|
* @name Test for destructors
|
|
*/
|
|
import csharp
|
|
|
|
where forex(Stmt s | exists(Destructor d | d.getBody().getAChild() = s) |
|
|
s instanceof LocalVariableDeclStmt)
|
|
select 1
|
|
|