System.Linq.Expressions.Strings.ExpressionTypeDoesNotMatchReturn C# (CSharp) Метод

ExpressionTypeDoesNotMatchReturn() статический приватный Метод

A string like "Expression of type '{0}' cannot be used for return type '{1}'"
static private ExpressionTypeDoesNotMatchReturn ( object p0, object p1 ) : string
p0 object
p1 object
Результат string
        internal static string ExpressionTypeDoesNotMatchReturn(object p0, object p1) => SR.Format(SR.ExpressionTypeDoesNotMatchReturn, p0, p1);

Usage Example

Пример #1
0
 internal static Exception ExpressionTypeDoesNotMatchReturn(object p0, object p1)
 {
     return(new ArgumentException(Strings.ExpressionTypeDoesNotMatchReturn(p0, p1)));
 }
Strings