mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
15 lines
253 B
Plaintext
15 lines
253 B
Plaintext
/**
|
|
* @name Test for namespaces
|
|
*/
|
|
|
|
import csharp
|
|
|
|
from Namespace n
|
|
where
|
|
n.hasQualifiedName("P1.P2") and
|
|
n.getAClass().hasName("A") and
|
|
n.getAClass().hasName("B") and
|
|
n.getAStruct().hasName("S") and
|
|
n.getAnInterface().hasName("I")
|
|
select n
|