private static bool IsPropertyWritable(PropertyInfo propertyInfo) { return (propertyInfo != null) && (propertyInfo.CanWrite); }