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

◆ TryValidateParseStyleInteger()

static bool System.Numerics.BigNumber.TryValidateParseStyleInteger ( NumberStyles style,
[NotNullWhen(false)] out ArgumentException e )
inlinestaticpackage

Definition at line 31 of file BigNumber.cs.

32 {
33 if (((uint)style & 0xFFFFFC00u) != 0)
34 {
36 return false;
37 }
38 if ((style & NumberStyles.AllowHexSpecifier) != 0 && ((uint)style & 0xFFFFFDFCu) != 0)
39 {
41 return false;
42 }
43 e = null;
44 return true;
45 }
static string Argument_InvalidNumberStyles
Definition SR.cs:720
static string Format(string resourceFormat, object p1)
Definition SR.cs:118
static string Argument_InvalidHexStyle
Definition SR.cs:18
Definition SR.cs:7

References System.SR.Argument_InvalidHexStyle, System.SR.Argument_InvalidNumberStyles, and System.SR.Format().

Referenced by System.Numerics.BigNumber.ParseBigInteger(), and System.Numerics.BigNumber.TryParseBigInteger().