Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4b7f63a commit 1568763Copy full SHA for 1568763
1 file changed
csharp/ql/lib/semmle/code/csharp/dataflow/internal/DelegateDataFlow.qll
@@ -78,18 +78,3 @@ private class NonDelegateCall extends Expr {
78
private class NormalReturnNode extends Node {
79
NormalReturnNode() { this.(ReturnNode).getKind() instanceof NormalReturnKind }
80
}
81
-
82
-pragma[noinline]
83
-private predicate flowIntoNonDelegateCall(NonDelegateCall call, Expr arg, DotNet::Parameter p) {
84
- exists(DotNet::Callable callable, int i |
85
- callable = call.getARuntimeTarget() and
86
- p = callable.getAParameter() and
87
- arg = call.getArgument(i) and
88
- i = p.getPosition()
89
- )
90
-}
91
92
93
-private predicate flowOutOfNonDelegateCall(NonDelegateCall call, NormalReturnNode ret) {
94
- call.getARuntimeTarget() = ret.getEnclosingCallable()
95
0 commit comments