mirror of
https://github.com/github/codeql.git
synced 2026-01-27 13:23:00 +01:00
11 lines
381 B
Plaintext
11 lines
381 B
Plaintext
import csharp
|
|
import semmle.code.csharp.controlflow.ControlFlowGraph
|
|
|
|
query predicate edges(ControlFlow::Node node1, ControlFlow::Node node2, string label, string value) {
|
|
label = "semmle.label" and
|
|
exists(ControlFlow::SuccessorType t |
|
|
node2 = node1.getASuccessorByType(t) and value = t.toString()
|
|
)
|
|
and node1.getEnclosingCallable().hasName("TestUsingDeclarations")
|
|
}
|