1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 19:48:20 +02:00

Add static init priority to some classes

This commit is contained in:
disarray2077 2024-03-18 21:28:30 -03:00
parent 084566cdc6
commit 1dbb1050ff
2 changed files with 2 additions and 0 deletions

View file

@ -21,6 +21,7 @@ namespace System
using System.Threading; using System.Threading;
// This class is thread-safe for random results, but not deterministically thread-safe // This class is thread-safe for random results, but not deterministically thread-safe
[StaticInitPriority(100)]
public class Random public class Random
{ {
// //

View file

@ -53,6 +53,7 @@ namespace System {
NoThrowOnInvalidTime = 2 NoThrowOnInvalidTime = 2
} }
[StaticInitPriority(100)]
sealed public class TimeZoneInfo : IEquatable<TimeZoneInfo> sealed public class TimeZoneInfo : IEquatable<TimeZoneInfo>
{ {
// ---- SECTION: members supporting exposed properties -------------* // ---- SECTION: members supporting exposed properties -------------*