mirror of
https://github.com/github/codeql.git
synced 2026-05-18 21:27:08 +02:00
8 lines
309 B
Plaintext
8 lines
309 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")
|
|
}
|