5 references to TryParse
System.Net.HttpListener (1)
System\Net\ServiceNameStore.cs (1)
77if (!ushort.TryParse(port, NumberStyles.Integer, CultureInfo.InvariantCulture, out _))
System.Net.Security (1)
System\Security\Authentication\ExtendedProtection\ServiceNameCollection.cs (1)
214if (!ushort.TryParse(port, NumberStyles.Integer, CultureInfo.InvariantCulture, out _))
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\UInt16.cs (2)
144public static bool TryParse(ReadOnlySpan<char> s, out ushort result) => TryParse(s, NumberStyles.Integer, provider: null, out result); 1153public static bool TryParse(ReadOnlySpan<char> s, IFormatProvider? provider, out ushort result) => TryParse(s, NumberStyles.Integer, provider, out result);
System.Reflection.Metadata (1)
src\libraries\Common\src\System\Reflection\AssemblyNameParser.cs (1)
264if (!ushort.TryParse(