mirror of
https://github.com/github/codeql.git
synced 2026-02-26 20:03:51 +01:00
12 lines
179 B
Plaintext
12 lines
179 B
Plaintext
/**
|
|
* @name Test for namespaces
|
|
*/
|
|
import csharp
|
|
|
|
from Namespace n
|
|
where n.hasQualifiedName("M1.M2")
|
|
and n.getAClass().hasName("A")
|
|
and n.getAClass().hasName("B")
|
|
select n
|
|
|