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

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

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

Usage Example

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