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

OverloadOperatorTypeDoesNotMatchConversionType() static private method

A string like "The return type of overload method for operator '{0}' does not match the parameter type of conversion method '{1}'."
static private OverloadOperatorTypeDoesNotMatchConversionType ( object p0, object p1 ) : string
p0 object
p1 object
return string
        internal static string OverloadOperatorTypeDoesNotMatchConversionType(object p0, object p1) => SR.Format(SR.OverloadOperatorTypeDoesNotMatchConversionType, p0, p1);

Usage Example

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