ModernUO/Projects/Server.Tests/Tests/Collections
Kamron Batman d919f71149
fix: Fixes map iterators for Items (#1564)
### Summary

Modifying a ValueLinkList using one of the methods will bump the "version". This field is used by iterators (foreach loops) to determine if the link list was modified while iterating. The sector.Items (and in the future other lists), will no longer be safe to modify while iterating. The server will _CRASH_ if the ValueLinkList is modified.

Thanks to @stefanomerotta for help!


### Screenshots
<img width="588" alt="image" src="https://github.com/modernuo/ModernUO/assets/3953314/83ee0b6e-ff4f-4768-9e29-84456e04b1ec">
2023-10-26 17:49:15 -07:00
..
BitArrayTests.cs fix: Fixes BitArray serialization (#1027) 2022-05-18 17:25:03 -07:00
OrderedHashSetTests.cs fix(core): Adds ability to store null value in ordered hash set (#447) 2021-02-03 17:57:03 -08:00
PooledRefQueueTests.cs fix: Fixes tests to use C# 11 syntax (#1462) 2023-08-17 00:58:44 -07:00
ValueLinkListTests.cs fix: Fixes map iterators for Items (#1564) 2023-10-26 17:49:15 -07:00