mirror of
https://github.com/github/codeql.git
synced 2026-02-26 11:53:42 +01:00
12 lines
278 B
Plaintext
12 lines
278 B
Plaintext
/**
|
|
* @name Test for namespaces
|
|
*/
|
|
import csharp
|
|
|
|
from UsingNamespaceDirective u
|
|
where u.getParentNamespaceDeclaration().getNamespace().hasQualifiedName("S3")
|
|
and u.getImportedNamespace().hasQualifiedName("S1.S2")
|
|
and u.getFile().getBaseName() = "namespaces.cs"
|
|
select u
|
|
|