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

◆ MatchNegativeSignChars()

static unsafe char * System.Number.MatchNegativeSignChars ( char * p,
char * pEnd,
NumberFormatInfo info )
inlinestaticprivate

Definition at line 5867 of file Number.cs.

5868 {
5869 char* ptr = MatchChars(p, pEnd, info.NegativeSign);
5870 if (ptr == null && info.AllowHyphenDuringParsing && p < pEnd && *p == '-')
5871 {
5872 ptr = p + 1;
5873 }
5874 return ptr;
5875 }
static unsafe char * MatchChars(char *p, char *pEnd, string value)
Definition Number.cs:5877

References System.info, and System.Number.MatchChars().

Referenced by System.Number.TryParseNumber().