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