System.Linq.Expressions.Error.UserDefinedOperatorMustBeStatic C# (CSharp) Méthode

UserDefinedOperatorMustBeStatic() static private méthode

ArgumentException with message like "User-defined operator method '{0}' must be static."
static private UserDefinedOperatorMustBeStatic ( object p0, string paramName ) : Exception
p0 object
paramName string
Résultat Exception
        internal static Exception UserDefinedOperatorMustBeStatic(object p0, string paramName)
        {
            return new ArgumentException(Strings.UserDefinedOperatorMustBeStatic(p0), paramName);
        }
        /// <summary>
Error