mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Merge pull request #1944 from disarray2077/staticinit
Add static init priority to some classes
This commit is contained in:
commit
9b55146064
2 changed files with 2 additions and 0 deletions
|
@ -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
|
||||||
{
|
{
|
||||||
//
|
//
|
||||||
|
|
|
@ -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 -------------*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue