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

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

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

Usage Example

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