9 references to ToUShort
System.Private.Uri (9)
src\libraries\Common\src\System\Net\IPv4AddressHelper.Common.cs (5)
46for (; (start < end) && (ch = ToUShort(str[start])) != '.' && ch != ':'; ++start) 141int ch = ToUShort(name[start]); 230ch = ToUShort(name[current]); 244ch = ToUShort(name[current]); 263ch = ToUShort(name[current]);
src\libraries\Common\src\System\Net\IPv6AddressHelper.Common.cs (4)
139int currentCh = IPv4AddressHelper.ToUShort(name[i]); 200int ch = IPv4AddressHelper.ToUShort(name[i]); 213if (!char.IsAsciiDigit((char)IPv4AddressHelper.ToUShort(name[i]))) 329currentCh = IPv4AddressHelper.ToUShort(address[i]);