diff --git a/src/EFCore.Relational/Query/IMethodCallTranslator.cs b/src/EFCore.Relational/Query/IMethodCallTranslator.cs
index ac921239e36..13432daa93f 100644
--- a/src/EFCore.Relational/Query/IMethodCallTranslator.cs
+++ b/src/EFCore.Relational/Query/IMethodCallTranslator.cs
@@ -25,9 +25,6 @@ public interface IMethodCallTranslator
/// SQL representations of .
/// The query logger to use.
/// A SQL translation of the .
- // This is a 6.0.x hack to make trimming work, since the linker doesn't see our GetRequiredRuntimeMethod invocations below
- // (see #26288)
- [DynamicDependency(DynamicallyAccessedMemberTypes.All, typeof(Math))]
SqlExpression? Translate(
SqlExpression? instance,
MethodInfo method,