public void Remove() { JsonValue[] items = new JsonValue[] { new JsonPrimitive(true) }; JsonArray array = new JsonArray((IEnumerable<JsonValue>)items); array.Remove(items[0]); Assert.Equal(0, array.Count); array.Remove(items[0]); Assert.Equal(0, array.Count); }