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