Files
codeql/csharp/ql/test/library-tests/goto/Goto1.ql
Tamas Vajk c069c3384e Fix tests
2021-04-08 12:07:36 +02:00

10 lines
300 B
Plaintext

import csharp
query predicate edges(ControlFlow::Node node, ControlFlow::Node successor, string attr, string val) {
not node.getElement().fromLibrary() and
exists(ControlFlow::SuccessorType t | successor = node.getASuccessorByType(t) |
attr = "semmle.label" and
val = t.toString()
)
}