System.Linq.Expressions.Strings.UnaryOperatorNotDefined C# (CSharp) Method

UnaryOperatorNotDefined() static private method

A string like "The unary operator {0} is not defined for the type '{1}'."
static private UnaryOperatorNotDefined ( object p0, object p1 ) : string
p0 object
p1 object
return string
        internal static string UnaryOperatorNotDefined(object p0, object p1) => SR.Format(SR.UnaryOperatorNotDefined, p0, p1);

Usage Example

 internal static Exception UnaryOperatorNotDefined(object p0, object p1)
 {
     return(new InvalidOperationException(Strings.UnaryOperatorNotDefined(p0, p1)));
 }
Strings