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

◆ operator uint()

static System.Numerics.BigInteger.operator uint ( BigInteger value)
inlineexplicitstatic

Definition at line 1490 of file BigInteger.cs.

1491 {
1492 if (value._bits == null)
1493 {
1494 return checked((uint)value._sign);
1495 }
1496 if (value._bits.Length > 1 || value._sign < 0)
1497 {
1498 throw new OverflowException(System.SR.Overflow_UInt32);
1499 }
1500 return value._bits[0];
1501 }
static string Overflow_UInt32
Definition SR.cs:1788
Definition SR.cs:7

References System.SR.Overflow_UInt32, and System.value.