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

PropertyDoesNotHaveGetter() static private method

A string like "The property '{0}' has no 'get' accessor"
static private PropertyDoesNotHaveGetter ( object p0 ) : string
p0 object
return string
        internal static string PropertyDoesNotHaveGetter(object p0) => SR.Format(SR.PropertyDoesNotHaveGetter, p0);

Usage Example

 internal static Exception PropertyDoesNotHaveGetter(object p0)
 {
     return(new ArgumentException(Strings.PropertyDoesNotHaveGetter(p0)));
 }
Strings