mirror of
https://github.com/github/codeql.git
synced 2026-02-26 20:03:51 +01:00
14 lines
251 B
Plaintext
14 lines
251 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
|
|
|