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

PropertyDoesNotHaveSetter() static private method

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

Usage Example

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