mirror of
https://github.com/github/codeql.git
synced 2026-02-26 11:53:42 +01:00
14 lines
247 B
Plaintext
14 lines
247 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
|
|
|