mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
15 lines
272 B
Plaintext
15 lines
272 B
Plaintext
/**
|
|
* @name Test for namespaces
|
|
*/
|
|
|
|
import csharp
|
|
|
|
from UnboundGenericClass a, Class b
|
|
where
|
|
a.hasQualifiedName("R1", "A<>") and
|
|
a.getATypeParameter().hasName("T") and
|
|
a.getANestedType() = b and
|
|
b.getName() = "B" and
|
|
b.hasQualifiedName("R1.A<>.B")
|
|
select a, b
|