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