mirror of
https://github.com/github/codeql.git
synced 2025-12-19 18:33:16 +01:00
12 lines
249 B
Plaintext
12 lines
249 B
Plaintext
/**
|
|
* @name Test for destructors
|
|
*/
|
|
|
|
import csharp
|
|
|
|
from Destructor c
|
|
where
|
|
c.getDeclaringType().getName() = "Class" and
|
|
c.getDeclaringType().getNamespace().getQualifiedName() = "Constructors"
|
|
select c, c.getDeclaringType().getQualifiedName()
|