Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetInt32() [2/2]

static int System.Security.Cryptography.RandomNumberGenerator.GetInt32 ( int toExclusive)
inlinestaticinherited

Definition at line 118 of file RandomNumberGenerator.cs.

119 {
120 if (toExclusive <= 0)
121 {
122 throw new ArgumentOutOfRangeException("toExclusive", System.SR.ArgumentOutOfRange_NeedPosNum);
123 }
124 return GetInt32(0, toExclusive);
125 }
static string ArgumentOutOfRange_NeedPosNum
Definition SR.cs:20
Definition SR.cs:7
static int GetInt32(int fromInclusive, int toExclusive)

References System.SR.ArgumentOutOfRange_NeedPosNum, and System.Security.Cryptography.RandomNumberGenerator.GetInt32().