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

◆ Equals()

override bool System.Net.DnsEndPoint.Equals ( [NotNullWhen(true)] object? comparand)
inline

Definition at line 48 of file DnsEndPoint.cs.

49 {
50 if (!(comparand is DnsEndPoint dnsEndPoint))
51 {
52 return false;
53 }
54 if (_family == dnsEndPoint._family && _port == dnsEndPoint._port)
55 {
56 return _host == dnsEndPoint._host;
57 }
58 return false;
59 }
readonly string _host
Definition DnsEndPoint.cs:8
readonly AddressFamily _family
DnsEndPoint(string host, int port)

References System.Net.DnsEndPoint._family, System.Net.DnsEndPoint._host, and System.Net.DnsEndPoint._port.