mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
11 lines
305 B
Plaintext
11 lines
305 B
Plaintext
import csharp
|
|
|
|
query predicate globalUsing(UsingDirective und) { und.isGlobal() }
|
|
|
|
query predicate localUsing(UsingDirective ud) { not ud.isGlobal() }
|
|
|
|
query predicate globalUsingNamespace(UsingNamespaceDirective und, Namespace namespace) {
|
|
und.isGlobal() and
|
|
namespace = und.getImportedNamespace()
|
|
}
|