Skip to content

Commit ce7e990

Browse files
committed
C#: Address review comments.
1 parent f8870e7 commit ce7e990

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -238,25 +238,25 @@ class CallableFlowSinkArg extends CallableFlowSink, TCallableFlowSinkArg {
238238
}
239239

240240
/** Gets the flow source for argument `i` of callable `callable`. */
241-
CallableFlowSourceArg getFlowSourceArg(SourceDeclarationCallable callable, int i) {
241+
private CallableFlowSourceArg getFlowSourceArg(SourceDeclarationCallable callable, int i) {
242242
i = result.getArgumentIndex() and
243243
hasArgumentPosition(callable, i)
244244
}
245245

246246
/** Gets the flow sink for argument `i` of callable `callable`. */
247-
CallableFlowSinkArg getFlowSinkArg(SourceDeclarationCallable callable, int i) {
247+
private CallableFlowSinkArg getFlowSinkArg(SourceDeclarationCallable callable, int i) {
248248
i = result.getArgumentIndex() and
249249
hasArgumentPosition(callable, i)
250250
}
251251

252252
/** Gets the flow source for argument `i` of delegate `callable`. */
253-
CallableFlowSourceDelegateArg getDelegateFlowSourceArg(SourceDeclarationCallable callable, int i) {
253+
private CallableFlowSourceDelegateArg getDelegateFlowSourceArg(SourceDeclarationCallable callable, int i) {
254254
i = result.getArgumentIndex() and
255255
hasDelegateArgumentPosition(callable, i)
256256
}
257257

258258
/** Gets the flow sink for the `j`th argument of the delegate at argument `i` of `callable`. */
259-
CallableFlowSinkDelegateArg getDelegateFlowSinkArg(SourceDeclarationCallable callable, int i, int j) {
259+
private CallableFlowSinkDelegateArg getDelegateFlowSinkArg(SourceDeclarationCallable callable, int i, int j) {
260260
result = TCallableFlowSinkDelegateArg(i, j) and
261261
hasDelegateArgumentPosition2(callable, i, j)
262262
}

0 commit comments

Comments
 (0)