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

◆ ValidateParseStyleInteger()

static void System.Globalization.NumberFormatInfo.ValidateParseStyleInteger ( NumberStyles style)
inlinestaticpackage

Definition at line 728 of file NumberFormatInfo.cs.

729 {
730 if (((uint)style & 0xFFFFFE00u) != 0 && ((uint)style & 0xFFFFFDFCu) != 0)
731 {
732 ThrowInvalid(style);
733 }
734 static void ThrowInvalid(NumberStyles value)
735 {
736 if (((uint)value & 0xFFFFFC00u) != 0)
737 {
738 throw new ArgumentException(SR.Argument_InvalidNumberStyles, "style");
739 }
740 throw new ArgumentException(SR.Arg_InvalidHexStyle);
741 }
742 }

References System.SR.Arg_InvalidHexStyle, System.SR.Argument_InvalidNumberStyles, and System.value.

Referenced by System.Byte.Parse(), System.Int16.Parse(), System.Int32.Parse(), System.Int64.Parse(), System.SByte.Parse(), System.UInt16.Parse(), System.UInt32.Parse(), System.UInt64.Parse(), System.Byte.Parse(), System.Int16.Parse(), System.Int32.Parse(), System.Int64.Parse(), System.SByte.Parse(), System.UInt16.Parse(), System.UInt32.Parse(), System.UInt64.Parse(), System.Byte.Parse(), System.Int16.Parse(), System.Int32.Parse(), System.Int64.Parse(), System.SByte.Parse(), System.UInt16.Parse(), System.UInt32.Parse(), System.UInt64.Parse(), System.Byte.TryParse(), System.Int32.TryParse(), System.Int64.TryParse(), System.SByte.TryParse(), System.Int16.TryParse(), System.UInt32.TryParse(), System.UInt64.TryParse(), System.UInt16.TryParse(), System.Byte.TryParse(), System.Int32.TryParse(), System.Int64.TryParse(), System.SByte.TryParse(), System.Int16.TryParse(), System.UInt32.TryParse(), System.UInt64.TryParse(), and System.UInt16.TryParse().