public void SetValue(object target, object value) { if (IsListType) throw new InvalidOperationException("Cannot set value to field that is a list"); property.SetValue(target, value, null); }