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

PropertyDoesNotHaveAccessor() static private method

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

Usage Example

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