From 0313b4036c1b563e52955e4fc68993f0f08d8bc2 Mon Sep 17 00:00:00 2001 From: Joakim Riedel Date: Wed, 9 Dec 2020 21:04:16 +0100 Subject: [PATCH] Reverted overload to private instead of protected. --- .../Internal/ParameterExtractingExpressionVisitor.cs | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/EFCore/Query/Internal/ParameterExtractingExpressionVisitor.cs b/src/EFCore/Query/Internal/ParameterExtractingExpressionVisitor.cs index d6b14c75dc0..9deb439b386 100644 --- a/src/EFCore/Query/Internal/ParameterExtractingExpressionVisitor.cs +++ b/src/EFCore/Query/Internal/ParameterExtractingExpressionVisitor.cs @@ -81,14 +81,7 @@ public virtual Expression ExtractParameters([NotNull] Expression expression) return ExtractParameters(expression, clearEvaluatedValues: true); } - /// - /// This is an internal API that supports the Entity Framework Core infrastructure and not subject to - /// the same compatibility standards as public APIs. It may be changed or removed without notice in - /// any release. You should only use it directly in your code with extreme caution and knowing that - /// doing so can result in application failures when updating to a new Entity Framework Core release. - /// - protected virtual Expression ExtractParameters([NotNull] Expression expression, - bool clearEvaluatedValues = false) + private Expression ExtractParameters([NotNull] Expression expression, bool clearEvaluatedValues = false) { var oldEvaluatableExpressions = _evaluatableExpressions; _evaluatableExpressions = _evaluatableExpressionFindingExpressionVisitor.Find(expression);