PKHeX/PKHeX.Core/PKM
Kurt c301ce88ab Update Random to be a bit more thread safe
Random isn't thread safe; users of PKHeX.Core.dll might run multithreaded operations (see PKSM + ALM), so we need to have a thread-specific RNG available.

Thread Local get; to improve performance, save the random object locally whenever it is used more than once in the method.

https://docs.microsoft.com/en-us/dotnet/api/system.threading.threadlocal-1?redirectedfrom=MSDN&view=netframework-4.8
https://stackoverflow.com/questions/18333885/threadstatic-v-s-threadlocalt-is-generic-better-than-attribute/18337158#18337158
2020-01-25 21:49:52 -08:00
..
Searching Remove unnecessary casts 2020-01-06 17:50:18 -08:00
Shared Update Random to be a bit more thread safe 2020-01-25 21:49:52 -08:00
Strings Handle ’ ' edge case 2019-11-16 16:21:17 -08:00
Util Update Random to be a bit more thread safe 2020-01-25 21:49:52 -08:00
BK4.cs Split PokeCrypto from PKX 2020-01-04 14:48:39 -08:00
CK3.cs Remove unnecessary null checks 2020-01-18 16:57:25 -08:00
PB7.cs Split PokeCrypto from PKX 2020-01-04 14:48:39 -08:00
PK1.cs Update Random to be a bit more thread safe 2020-01-25 21:49:52 -08:00
PK2.cs Update Random to be a bit more thread safe 2020-01-25 21:49:52 -08:00
PK3.cs Remove unnecessary null checks 2020-01-18 16:57:25 -08:00
PK4.cs Split PokeCrypto from PKX 2020-01-04 14:48:39 -08:00
PK5.cs Remove unnecessary null checks 2020-01-18 16:57:25 -08:00
PK6.cs Relocate console-location data setting to PKMConverter 2020-01-05 21:41:32 -08:00
PK7.cs Split PokeCrypto from PKX 2020-01-04 14:48:39 -08:00
PK8.cs Remove unnecessary null checks 2020-01-18 16:57:25 -08:00
PKM.cs Update Random to be a bit more thread safe 2020-01-25 21:49:52 -08:00
XK3.cs Remove unnecessary null checks 2020-01-18 16:57:25 -08:00