Skip to content

Commit 5a198a3

Browse files
committed
C#: Autoformat
1 parent afdb788 commit 5a198a3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

csharp/ql/src/API Abuse/NoDisposeCallOnLocalIDisposable.ql

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,7 @@ predicate mayNotBeDiposed(LocalScopeDisposableCreation disposable) {
9494
exists(Conf conf, DataFlow::ExprNode e |
9595
e.getExpr() = disposable and
9696
conf.isSource(e) and
97-
not exists(DataFlow::Node sink |
98-
conf.hasFlow(DataFlow::exprNode(disposable), sink) |
97+
not exists(DataFlow::Node sink | conf.hasFlow(DataFlow::exprNode(disposable), sink) |
9998
sink instanceof ReturnNode
10099
implies
101100
sink.getEnclosingCallable() = disposable.getEnclosingCallable()

0 commit comments

Comments
 (0)