8 private readonly
string _host;
31 if (
string.IsNullOrEmpty(host))
35 if (port < 0 || port > 65535)
48 public override bool Equals([NotNullWhen(
true)]
object? comparand)
54 if (
_family == dnsEndPoint._family &&
_port == dnsEndPoint._port)
56 return _host == dnsEndPoint._host;
override bool Equals([NotNullWhen(true)] object? comparand)
readonly AddressFamily _family
override string ToString()
DnsEndPoint(string host, int port)
override int GetHashCode()
DnsEndPoint(string host, int port, AddressFamily addressFamily)
static string net_sockets_invalid_optionValue_all
static string Format(string resourceFormat, object p1)
static string net_emptystringcall
static StringComparer OrdinalIgnoreCase