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

◆ MatchChars() [1/2]

static unsafe char * System.Globalization.FormatProvider.Number.MatchChars ( char * p,
char * pEnd,
char * str )
inlinestaticprivate

Definition at line 63 of file FormatProvider.cs.

64 {
65 if (*str == '\0')
66 {
67 return null;
68 }
69 while (true)
70 {
71 char c = ((p < pEnd) ? (*p) : '\0');
72 if (c != *str && (*str != '\u00a0' || c != ' '))
73 {
74 break;
75 }
76 p++;
77 str++;
78 if (*str == '\0')
79 {
80 return p;
81 }
82 }
83 return null;
84 }

References System.str.