Files
codeql/csharp/ql/test/library-tests/csharp8/UsingControlFlow.ql
2026-04-10 15:47:11 +02:00

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")
}