System.Linq.Expressions.Error.DynamicObjectResultNotAssignable C# (CSharp) Method

DynamicObjectResultNotAssignable() static private method

InvalidCastException with message like "The result type '{0}' of the dynamic binding produced by the object with type '{1}' for the binder '{2}' is not compatible with the result type '{3}' expected by the call site."
static private DynamicObjectResultNotAssignable ( object p0, object p1, object p2, object p3 ) : Exception
p0 object
p1 object
p2 object
p3 object
return System.Exception
        internal static Exception DynamicObjectResultNotAssignable(object p0, object p1, object p2, object p3)
        {
            return new InvalidCastException(Strings.DynamicObjectResultNotAssignable(p0, p1, p2, p3));
        }
        /// <summary>
Error