Skip to content

Commit a6b7992

Browse files
committed
C#: Remove unused predicate toCallableFlowSink.
1 parent ecc9593 commit a6b7992

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

csharp/ql/lib/semmle/code/csharp/dataflow/LibraryTypeDataFlow.qll

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -294,25 +294,6 @@ private module FrameworkDataFlowAdaptor {
294294
)
295295
}
296296

297-
private CallableFlowSink toCallableFlowSink(SummaryComponentStack output) {
298-
result = TCallableFlowSinkQualifier() and
299-
output = SummaryComponentStack::qualifier()
300-
or
301-
result = TCallableFlowSinkReturn() and
302-
output = SummaryComponentStack::return()
303-
or
304-
exists(int i |
305-
result = TCallableFlowSinkArg(i) and
306-
output = SummaryComponentStack::argument(i)
307-
)
308-
or
309-
exists(int i, int j | result = TCallableFlowSinkDelegateArg(i, j) |
310-
output =
311-
SummaryComponentStack::push(SummaryComponent::parameter(j),
312-
SummaryComponentStack::argument(i))
313-
)
314-
}
315-
316297
private class FrameworkDataFlowAdaptor extends SummarizedCallable {
317298
private LibraryTypeDataFlow ltdf;
318299

0 commit comments

Comments
 (0)