Skip to content

Commit

Permalink
Fix #860
Browse files Browse the repository at this point in the history
  • Loading branch information
bricelam committed Jun 5, 2019
1 parent 3c927b1 commit 6911734
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ internal object EvaluateParameter(object[] arguments)
// </summary>
internal QueryParameterExpression EscapeParameterForLike(Expression<Func<string, Tuple<string, bool>>> method)
{
Expression wrappedExpression = Expression.Property(Invoke(Constant(method), _funcletizedExpression), "Item1");
Expression wrappedExpression = Expression.Property(Invoke(method, _funcletizedExpression), "Item1");
return new QueryParameterExpression(_parameterReference, wrappedExpression, _compiledQueryParameters);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,7 @@ private CompiledQueryContext CreateCompiledQueryContext()
return ctx;
}

[Fact(
#if NETCOREAPP3_0
Skip = "#860"
#endif
)]
[Fact]
public void CompiledQuery_with_contains_does_not_hold_reference_to_context()
{
WeakReference wr;
Expand Down

0 comments on commit 6911734

Please sign in to comment.