[
https://issues.apache.org/jira/browse/IGNITE-9877?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nikolay Izhikov resolved IGNITE-9877.
-------------------------------------
Resolution: Fixed
> .NET: LINQ does not work under .NET Core 2.1 - AmbiguousMatchException
> ----------------------------------------------------------------------
>
> 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: Critical
> Labels: .NET
> Fix For: 2.7
>
>
> 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)