1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

Merge pull request #1944 from disarray2077/staticinit

Add static init priority to some classes
This commit is contained in:
Brian Fiete 2024-03-19 13:55:37 +01:00 committed by GitHub
commit 9b55146064
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View file

@ -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
{
//

View file

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