mirror of
https://github.com/github/codeql.git
synced 2026-02-26 20:03:51 +01:00
14 lines
269 B
Plaintext
14 lines
269 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
|
|
|