mirror of
https://github.com/github/codeql.git
synced 2026-05-20 22:27:18 +02:00
10 lines
316 B
Plaintext
10 lines
316 B
Plaintext
import csharp
|
|
|
|
query predicate edges(ControlFlowNode node1, ControlFlowNode node2, string label, string value) {
|
|
label = "semmle.label" and
|
|
exists(ControlFlow::SuccessorType t |
|
|
node2 = node1.getASuccessor(t) and value = t.toString()
|
|
) and
|
|
node1.getEnclosingCallable().hasName("TestUsingDeclarations")
|
|
}
|