Definition at line 130 of file Dns.cs.
131 {
132 if (address == null)
133 {
134 throw new ArgumentNullException("address");
135 }
136 if (address.Equals(IPAddress.Any) || address.Equals(IPAddress.IPv6Any))
137 {
139 {
141 }
143 }
145 {
148 {
150 }
153 }
static IPHostEntry GetHostEntryCore(string hostName, AddressFamily addressFamily, ValueStopwatch stopwatch=default(ValueStopwatch))
static readonly System.Net.NetEventSource Log
static void Info(object thisOrContextObject, FormattableString formattableString=null, [CallerMemberName] string memberName=null)
static void Error(object thisOrContextObject, FormattableString formattableString, [CallerMemberName] string memberName=null)
static string net_invalid_ip_addr
static CancellationToken None
References System.Net.IPAddress.Any, System.Net.IPAddress.Equals(), System.Net.NetEventSource.Error(), System.Net.Dns.GetHostEntryCore(), System.Net.NetEventSource.Info(), System.Net.IPAddress.IPv6Any, System.Net.NetEventSource.Log, System.SR.net_invalid_ip_addr, System.Threading.CancellationToken.None, and System.s.