Skip to content

Query: Remove object convert for Contains - #20628

Merged
smitpatel merged 1 commit into
masterfrom
smit/ExpressionTreesYouKnow
Apr 14, 2020
Merged

smitpatel merged 1 commit into
masterfrom
smit/ExpressionTreesYouKnow

Conversation

@smitpatel

Copy link
Copy Markdown
Contributor

Resolves #20624

@smitpatel
smitpatel force-pushed the smit/ExpressionTreesYouKnow branch from 98a95e3 to 94eb476 Compare April 14, 2020 19:49
@smitpatel
smitpatel requested a review from a team April 14, 2020 19:54
typeof(CosmosSqlTranslatingExpressionVisitor).GetTypeInfo().GetDeclaredMethod(nameof(ParameterListValueExtractor));

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

Copy link
Copy Markdown
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
Copy Markdown
Contributor 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