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

◆ CheckGroupSize()

static void System.Globalization.NumberFormatInfo.CheckGroupSize ( string propName,
int[] groupSize )
inlinestaticpackage

Definition at line 685 of file NumberFormatInfo.cs.

686 {
687 for (int i = 0; i < groupSize.Length; i++)
688 {
689 if (groupSize[i] < 1)
690 {
691 if (i == groupSize.Length - 1 && groupSize[i] == 0)
692 {
693 break;
694 }
695 throw new ArgumentException(SR.Argument_InvalidGroupSize, propName);
696 }
697 if (groupSize[i] > 9)
698 {
699 throw new ArgumentException(SR.Argument_InvalidGroupSize, propName);
700 }
701 }
702 }

References System.SR.Argument_InvalidGroupSize.