Merge pull request #1462 from hvitved/csharp/controlflowgraph-depr

C#: Remove uses of deprecated `ControlFlowGraph` module
This commit is contained in:
Calum Grant
2019-06-19 17:55:04 +01:00
committed by GitHub
4 changed files with 2 additions and 5 deletions

View File

@@ -37,14 +37,14 @@ class ControlFlowElement extends ExprOrStmtParent, @control_flow_element {
* Gets a first control flow node executed within this element.
*/
Node getAControlFlowEntryNode() {
result = ControlFlowGraph::Internal::getAControlFlowEntryNode(this).getAControlFlowNode()
result = Internal::getAControlFlowEntryNode(this).getAControlFlowNode()
}
/**
* Gets a potential last control flow node executed within this element.
*/
Node getAControlFlowExitNode() {
result = ControlFlowGraph::Internal::getAControlFlowExitNode(this).getAControlFlowNode()
result = Internal::getAControlFlowExitNode(this).getAControlFlowNode()
}
/**

View File

@@ -1,5 +1,4 @@
import csharp
import semmle.code.csharp.controlflow.ControlFlowGraph
query predicate edges(ControlFlow::Node node1, ControlFlow::Node node2, string label, string value) {
label = "semmle.label" and

View File

@@ -1,5 +1,4 @@
import csharp
import semmle.code.csharp.controlflow.ControlFlowGraph
query predicate edges(ControlFlow::Node node1, ControlFlow::Node node2, string label, string value) {
label = "semmle.label" and

View File

@@ -1,5 +1,4 @@
import csharp
import semmle.code.csharp.controlflow.ControlFlowGraph
/**
* A method call where the target is unknown.