Clear the collection without changing its capacity.
| 351 | /// Clear the collection without changing its capacity. |
| 352 | /// </summary> |
| 353 | void Clear() |
| 354 | { |
| 355 | if (_count != 0) |
| 356 | { |
| 357 | Memory::DestructItems(_allocation.Get(), _count); |
| 358 | _count = 0; |
| 359 | } |
| 360 | } |
| 361 | |
| 362 | /// <summary> |
| 363 | /// Clears the collection without changing its capacity. Deletes all not null items. |
no test coverage detected