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

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

A string like "The type used in TypeAs Expression must be of reference or nullable type, {0} is neither"
static private IncorrectTypeForTypeAs ( object p0 ) : string
p0 object
Результат string
        internal static string IncorrectTypeForTypeAs(object p0) => SR.Format(SR.IncorrectTypeForTypeAs, p0);

Usage Example

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