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

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

A string like "No generic method '{0}' on type '{1}' is compatible with the supplied type arguments and arguments. No type arguments should be provided if the method is non-generic. "
static private GenericMethodWithArgsDoesNotExistOnType ( object p0, object p1 ) : string
p0 object
p1 object
Результат string
        internal static string GenericMethodWithArgsDoesNotExistOnType(object p0, object p1) => SR.Format(SR.GenericMethodWithArgsDoesNotExistOnType, p0, p1);

Usage Example

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