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

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

A string like "Test value of type '{0}' cannot be used for the comparison method parameter of type '{1}'"
static private TestValueTypeDoesNotMatchComparisonMethodParameter ( object p0, object p1 ) : string
p0 object
p1 object
Результат string
        internal static string TestValueTypeDoesNotMatchComparisonMethodParameter(object p0, object p1) => SR.Format(SR.TestValueTypeDoesNotMatchComparisonMethodParameter, p0, p1);

Usage Example

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