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

MethodIsGeneric() static private method

ArgumentException with message like "Method {0} is a generic method definition"
static private MethodIsGeneric ( object p0, string paramName ) : Exception
p0 object
paramName string
return System.Exception
        internal static Exception MethodIsGeneric(object p0, string paramName)
        {
            return new ArgumentException(Strings.MethodIsGeneric(p0), paramName);
        }
        /// <summary>
Error