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

◆ TryParse() [6/13]

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

Definition at line 160 of file UInt16.cs.

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

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

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