System.Linq.Expressions.Strings.MethodNotPropertyAccessor C# (CSharp) Method

MethodNotPropertyAccessor() static private method

A string like "The method '{0}.{1}' is not a property accessor"
static private MethodNotPropertyAccessor ( object p0, object p1 ) : string
p0 object
p1 object
return string
        internal static string MethodNotPropertyAccessor(object p0, object p1) => SR.Format(SR.MethodNotPropertyAccessor, p0, p1);

Usage Example

 internal static Exception MethodNotPropertyAccessor(object p0, object p1)
 {
     return(new ArgumentException(Strings.MethodNotPropertyAccessor(p0, p1)));
 }
Strings