3 references to IsValid
System.Private.Uri (3)
System\Uri.cs (3)
1313if (IPv6AddressHelper.IsValid(name, out end) && end == name.Length) 1336if (IPv6AddressHelper.IsValid($"[{name}]", out end) && end - 2 == name.Length) 3798if (ch == '[' && (syntaxFlags & UriSyntaxFlags.AllowIPv6Host) != 0 && IPv6AddressHelper.IsValid(str.Slice(i), out hostLength))