From d96e8cb70480a8fbeea2163ce5817a76a4ab04ca Mon Sep 17 00:00:00 2001 From: Michael Nebel Date: Mon, 23 Mar 2026 15:13:35 +0100 Subject: [PATCH] C#: Remove expr_parent_adjusted. --- csharp/ql/lib/semmle/code/csharp/ExprOrStmtParent.qll | 6 ------ 1 file changed, 6 deletions(-) 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()