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

GenericMethodWithArgsDoesNotExistOnType() static private method

InvalidOperationException with message like "No generic method '{0}' on type '{1}' is compatible with the supplied type arguments and arguments. No type arguments should be provided if the method is non-generic. "
static private GenericMethodWithArgsDoesNotExistOnType ( object p0, object p1 ) : Exception
p0 object
p1 object
return System.Exception
        internal static Exception GenericMethodWithArgsDoesNotExistOnType(object p0, object p1)
        {
            return new InvalidOperationException(Strings.GenericMethodWithArgsDoesNotExistOnType(p0, p1));
        }
        /// <summary>
Error