@@ -6,6 +6,7 @@ private import ControlFlow
66private import ControlFlow:: BasicBlocks
77private import SuccessorTypes
88private import semmle.code.csharp.Caching
9+ private import internal.ControlFlowGraphImpl
910
1011/**
1112 * A program element that can possess control flow. That is, either a statement or
@@ -38,14 +39,14 @@ class ControlFlowElement extends ExprOrStmtParent, @control_flow_element {
3839 * Gets a first control flow node executed within this element.
3940 */
4041 Nodes:: ElementNode getAControlFlowEntryNode ( ) {
41- result = Internal :: getAControlFlowEntryNode ( this ) .getAControlFlowNode ( )
42+ result = getAControlFlowEntryNode ( this ) .getAControlFlowNode ( )
4243 }
4344
4445 /**
4546 * Gets a potential last control flow node executed within this element.
4647 */
4748 Nodes:: ElementNode getAControlFlowExitNode ( ) {
48- result = Internal :: getAControlFlowExitNode ( this ) .getAControlFlowNode ( )
49+ result = getAControlFlowExitNode ( this ) .getAControlFlowNode ( )
4950 }
5051
5152 /**
@@ -80,7 +81,7 @@ class ControlFlowElement extends ExprOrStmtParent, @control_flow_element {
8081 ) {
8182 // Only calculate dominance by explicit recursion for split nodes;
8283 // all other nodes can use regular CFG dominance
83- this instanceof ControlFlow :: Internal :: SplitControlFlowElement and
84+ this instanceof SplitControlFlowElement and
8485 cb .getLastNode ( ) = this .getAControlFlowNode ( ) and
8586 succ = cb .getASuccessorByType ( s )
8687 }
0 commit comments