diff --git a/BeefLibs/corlib/src/Random.bf b/BeefLibs/corlib/src/Random.bf index 3fc183cb..3e46ed2d 100644 --- a/BeefLibs/corlib/src/Random.bf +++ b/BeefLibs/corlib/src/Random.bf @@ -21,6 +21,7 @@ namespace System using System.Threading; // This class is thread-safe for random results, but not deterministically thread-safe + [StaticInitPriority(100)] public class Random { // diff --git a/BeefLibs/corlib/src/TimeZoneInfo.bf b/BeefLibs/corlib/src/TimeZoneInfo.bf index 960155cc..f227a407 100644 --- a/BeefLibs/corlib/src/TimeZoneInfo.bf +++ b/BeefLibs/corlib/src/TimeZoneInfo.bf @@ -53,6 +53,7 @@ namespace System { NoThrowOnInvalidTime = 2 } + [StaticInitPriority(100)] sealed public class TimeZoneInfo : IEquatable { // ---- SECTION: members supporting exposed properties -------------*