CodeQL library for C#
codeql/csharp-all 3.1.2-dev (changelog, source)
Search

Member predicate ControlFlowElement::getAControlFlowNode

Gets a control flow node for this element. That is, a node in the control flow graph that corresponds to this element.

Typically, there is exactly one ControlFlow::Node associated with a ControlFlowElement, but a ControlFlowElement may be split into several ControlFlow::Nodes, for example to represent the continuation flow in a try/catch/finally construction.

ElementNode getAControlFlowNode()