mirror of
https://github.com/github/codeql.git
synced 2025-12-20 10:46:30 +01:00
13 lines
285 B
Plaintext
13 lines
285 B
Plaintext
/**
|
|
* @name Test for destructors
|
|
*/
|
|
|
|
import csharp
|
|
|
|
from Destructor c, string qualifier, string name
|
|
where
|
|
c.getDeclaringType().hasFullyQualifiedName(qualifier, name) and
|
|
qualifier = "Constructors" and
|
|
name = "Class"
|
|
select c, c.getDeclaringType().getFullyQualifiedNameDebug()
|