Getting the following exception:
(The type initializer for 'Couchbase.Linq.QueryGeneration.DefaultMethodCallTranslatorProvider' threw an exception.) ---> System.TypeInitializationException: The type initializer for 'Couchbase.Linq.QueryGeneration.DefaultMethodCallTranslatorProvider' threw an exception. ---> System.TypeInitializationException: The type initializer for 'Couchbase.Linq.QueryGeneration.MethodCallTranslators.StringTrimMethodCallTranslator' threw an exception. ---> System.Reflection.AmbiguousMatchException: Ambiguous match found.
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 System.Reflection.TypeExtensions.GetMethod(Type type, String name)
at Couchbase.Linq.QueryGeneration.MethodCallTranslators.StringTrimMethodCallTranslator..cctor()
Works well on net47 and netcoreapp1.1. The problem shows up on netcoreapp2.0