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

◆ Decimal() [12/13]

System.Decimal.Decimal ( int lo,
int mid,
int hi,
int flags )
inlineprivate

Definition at line 2277 of file Decimal.cs.

2278 {
2279 if (IsValid(flags))
2280 {
2281 _lo64 = (uint)lo + ((ulong)(uint)mid << 32);
2282 _hi32 = (uint)hi;
2283 _flags = flags;
2284 return;
2285 }
2286 throw new ArgumentException(SR.Arg_DecBitCtor);
2287 }
static bool IsValid(int flags)
Definition Decimal.cs:2224
readonly uint _hi32
Definition Decimal.cs:2073
readonly int _flags
Definition Decimal.cs:2071
readonly ulong _lo64
Definition Decimal.cs:2075

References System.Decimal._flags, System.Decimal._hi32, System.Decimal._lo64, System.SR.Arg_DecBitCtor, System.Runtime.Serialization.Dictionary, and System.Decimal.IsValid().