PKHeX/PKHeX.Core/Legality/Structures
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
..
CheckMoveResult.cs Remove unnecessary null handling 2020-01-20 23:32:05 -08:00
CheckResult.cs Minor updates 2019-05-11 10:12:14 -07:00
EggMoves.cs PKHeX.Core Nullable cleanup (#2401) 2019-10-16 18:47:31 -07:00
IGeneration.cs Misc updates 2018-11-10 21:07:31 -08:00
ILocation.cs PKHeX.Core Nullable cleanup (#2401) 2019-10-16 18:47:31 -07:00
IMoveset.cs Make Move[] readonly list 2020-01-18 16:46:38 -08:00
IRelearn.cs Move files 2020-01-25 17:22:20 -08:00
ITrainerInfo.cs Don't set console region data for pb7/pk8+ 2019-11-26 10:46:32 -08:00
IVersion.cs Update Random to be a bit more thread safe 2020-01-25 21:49:52 -08:00
LegalInfo.cs Move files 2020-01-25 17:22:20 -08:00
Shiny.cs comment typo fix (#2535) 2019-11-28 10:35:18 -08:00
SimpleTrainerInfo.cs Add SimpleTrainerInfo constructor 2019-11-26 16:55:28 -08:00