| Parameter | Description |
|---|---|
| item | The value to add. |
bool True if the value was not already present.
Adds a new item. If the item is already present in the collection, this method should throw, but currently does not! Instead, it returns false without replacing said item.
Prefer NativeParallelHashSet<T0>.TryAdd if your intent is to allow graceful failure, as this API will eventually become more strict (and begin to throw).