public void CannotAddDuplicateKeyViaGenericCollection() { IDictionary<string, object> obj = new JsonObject(); obj.Add(new KeyValuePair<string, object>("foo", "bar")); obj.Add(new KeyValuePair<string, object>("foo", "baz")); }