You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/10/17 09:55:00 UTC
[jira] [Commented] (IGNITE-9877) .NET: AmbiguousMatchException
under .NET Core 2.1
[ https://issues.apache.org/jira/browse/IGNITE-9877?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16653287#comment-16653287 ]
ASF GitHub Bot commented on IGNITE-9877:
----------------------------------------
GitHub user ptupitsyn opened a pull request:
https://github.com/apache/ignite/pull/5009
IGNITE-9877 .NET: Fix AmbiguousMatchException in LINQ under .NET Core 2.1
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ptupitsyn/ignite ignite-9877
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/ignite/pull/5009.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #5009
----
commit 51d30c8f312443a5fbe5032c4018cb83a2f12381
Author: Pavel Tupitsyn <pt...@...>
Date: 2018-10-17T08:51:34Z
Update ifdefs to exclude NETCOREAPP2_1
commit 15158ffaecbccd2c407d0e58e40d0695c37ae152
Author: Pavel Tupitsyn <pt...@...>
Date: 2018-10-17T08:56:14Z
Ignore test instead of failing it
commit 88dce6dd7f45ad9a0720ae7cb5c9d63885febeae
Author: Pavel Tupitsyn <pt...@...>
Date: 2018-10-17T09:40:27Z
Fix ambiguity for Contains method retrieval
commit 86c473e828e6e11a94bb1c43a562f22156473dd3
Author: Pavel Tupitsyn <pt...@...>
Date: 2018-10-17T09:50:28Z
cleanup
----
> .NET: AmbiguousMatchException under .NET Core 2.1
> -------------------------------------------------
>
> Key: IGNITE-9877
> URL: https://issues.apache.org/jira/browse/IGNITE-9877
> Project: Ignite
> Issue Type: Bug
> Components: platforms
> Affects Versions: 2.4
> Reporter: Pavel Tupitsyn
> Assignee: Pavel Tupitsyn
> Priority: Major
> Labels: .NET
> Fix For: 2.8
>
>
> One of the string methods is causing an exception:
> {code}
> Unhandled Exception: System.TypeInitializationException: The type initializer for 'Apache.Ignite.Linq.Impl.MethodVisitor' threw an exception. ---> System.Reflection.AmbiguousMatchException: Ambiguous match found.
> at System.RuntimeType.GetMethodImplCommon(String name, Int32 genericParameterCount, BindingFlags bindingAttr, Binder binder, CallingConventions callConv, Type[] types, ParameterModifier[] modifiers)
> at System.RuntimeType.GetMethodImpl(String name, BindingFlags bindingAttr, Binder binder, CallingConventions callConv, Type[] types, ParameterModifier[] modifiers)
> at System.Type.GetMethod(String name, BindingFlags bindingAttr)
> at Apache.Ignite.Linq.Impl.MethodVisitor.GetMethod(Type type, String name, Type[] argTypes, VisitMethodDelegate del)
> at Apache.Ignite.Linq.Impl.MethodVisitor.GetStringMethod(String name, Type[] argTypes, VisitMethodDelegate del)
> at Apache.Ignite.Linq.Impl.MethodVisitor..cctor()
> {code}
> We should clarify the signature of all string methods to avoid this in future.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)