Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query: Remove object convert for Contains #20628

Merged
merged 1 commit into from
Apr 14, 2020

Conversation

smitpatel
Copy link
Member

Resolves #20624

@smitpatel smitpatel requested a review from a team April 14, 2020 19:54
@@ -33,6 +33,9 @@ public class CosmosSqlTranslatingExpressionVisitor : ExpressionVisitor
private static readonly MethodInfo _parameterListValueExtractor =
typeof(CosmosSqlTranslatingExpressionVisitor).GetTypeInfo().GetDeclaredMethod(nameof(ParameterListValueExtractor));

private static readonly MethodInfo _concatMethodInfo
= typeof(string).GetRuntimeMethod(nameof(string.Concat), new[] { typeof(object), typeof(object) });
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should move to a shared internal class to avoid ad-hoc proliferation

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Filed #20631

@smitpatel smitpatel merged commit 2ffa15d into master Apr 14, 2020
@smitpatel smitpatel deleted the smit/ExpressionTreesYouKnow branch April 14, 2020 21:48
smitpatel added a commit that referenced this pull request Apr 28, 2020
smitpatel added a commit that referenced this pull request Apr 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

List.Contains does not work with List<object>
2 participants