diff --git a/csharp/ql/lib/semmle/code/csharp/ExprOrStmtParent.qll b/csharp/ql/lib/semmle/code/csharp/ExprOrStmtParent.qll index ae9ed04e018..8102b4a0288 100644 --- a/csharp/ql/lib/semmle/code/csharp/ExprOrStmtParent.qll +++ b/csharp/ql/lib/semmle/code/csharp/ExprOrStmtParent.qll @@ -118,12 +118,6 @@ private module Cached { i = 0 } - /** - * Use `expr_parent` instead. - */ - cached - deprecated predicate expr_parent_adjusted(Expr child, int i, ControlFlowElement parent) { none() } - private Expr getAChildExpr(ExprOrStmtParent parent) { result = parent.getAChildExpr() and not result = parent.(DeclarationWithGetSetAccessors).getExpressionBody()