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

◆ TryParse() [6/13]

static bool System.Int16.TryParse ( [NotNullWhen(true)] string? s,
out short result )
inlinestatic

Definition at line 162 of file Int16.cs.

163 {
164 if (s == null)
165 {
166 result = 0;
167 return false;
168 }
169 return TryParse((ReadOnlySpan<char>)s, NumberStyles.Integer, NumberFormatInfo.CurrentInfo, out result);
170 }
static bool TryParse([NotNullWhen(true)] string? s, out short result)
Definition Int16.cs:162

References System.Globalization.NumberFormatInfo.CurrentInfo, System.s, and System.Int16.TryParse().

Referenced by System.Int16.TryParse(), System.Int16.TryParse(), System.Int16.TryParse(), System.Int16.TryParse(), System.Int16.TryParse(), System.Int16.TryParse(), System.Int16.TryParse(), and System.Int16.TryParse().