mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
13 lines
280 B
Plaintext
13 lines
280 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
|