You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Tupitsyn (JIRA)" <ji...@apache.org> on 2018/10/14 20:29:00 UTC

[jira] [Created] (IGNITE-9877) .NET: AmbiguousMatchException under .NET Core 2.1

Pavel Tupitsyn created IGNITE-9877:
--------------------------------------

             Summary: .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
             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)