mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
15 lines
250 B
Plaintext
15 lines
250 B
Plaintext
/**
|
|
* @name Test for namespaces
|
|
*/
|
|
|
|
import csharp
|
|
|
|
from Namespace n, Class c, Class a
|
|
where
|
|
n.hasQualifiedName("Q3") and
|
|
a.hasQualifiedName("Q1.Q2", "A") and
|
|
c.hasName("C") and
|
|
c.getNamespace() = n and
|
|
c.getBaseClass() = a
|
|
select n, c, a
|