Skip to content

Commit

Permalink
Remove 6.0.x [DynamicDependency] hack
Browse files Browse the repository at this point in the history
  • Loading branch information
roji committed Jan 7, 2022
1 parent c5fdb5d commit 1968694
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/EFCore.Relational/Query/IMethodCallTranslator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ public interface IMethodCallTranslator
/// <param name="arguments">SQL representations of <see cref="MethodCallExpression.Arguments" />.</param>
/// <param name="logger">The query logger to use.</param>
/// <returns>A SQL translation of the <see cref="MethodCallExpression" />.</returns>
// 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,
Expand Down

0 comments on commit 1968694

Please sign in to comment.