Removes all occurrence of a specific object from the collection. The item to remove.
| 684 | /// </summary> |
| 685 | /// <param name="item">The item to remove.</param> |
| 686 | void RemoveAll(const T& item) |
| 687 | { |
| 688 | for (int32 i = Count() - 1; i >= 0; --i) |
| 689 | { |
| 690 | if (_allocation.Get()[i] == item) |
| 691 | { |
| 692 | RemoveAt(i); |
| 693 | if (IsEmpty()) |
| 694 | break; |
| 695 | } |
| 696 | } |
| 697 | } |
| 698 | |
| 699 | /// <summary> |
| 700 | /// Removes the item at the specified index of the collection. |
no test coverage detected