internal override void AddItem(bool isLast, JToken previous, JToken item) { if (Value != null) throw new Exception("{0} cannot have multiple values.".FormatWith(CultureInfo.InvariantCulture, typeof(JProperty))); Value = item; }