mirror of
https://github.com/github/codeql.git
synced 2025-12-19 18:33:16 +01:00
9 lines
137 B
Plaintext
9 lines
137 B
Plaintext
/**
|
|
* @name Test for destructors
|
|
*/
|
|
|
|
import csharp
|
|
|
|
where forex(Type t | count(Destructor d | d.getDeclaringType() = t) <= 1)
|
|
select 1
|