Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-9877

.NET: LINQ does not work under .NET Core 2.1 - AmbiguousMatchException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.4
    • 2.7
    • platforms

    Description

      One of the string methods is causing an exception:

      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()
      

      We should clarify the signature of all string methods to avoid this in future.

      Attachments

        Issue Links

          Activity

            People

              ptupitsyn Pavel Tupitsyn
              ptupitsyn Pavel Tupitsyn
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: