5 writes to AddressList
System.Net.NameResolution (5)
System\Net\Dns.cs (5)
402AddressList = addresses, 533NameResolutionTelemetry.Log.AfterResolution(hostName, activity, answer: justAddresses ? addresses : (object)new IPHostEntry { AddressList = addresses, HostName = newHostName!, Aliases = aliases }, exception: null); 543AddressList = addresses, 638AddressList = addresses 885AddressList = new IPAddress[] { address }
14 references to AddressList
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\DnsCache.cs (1)
168return (await Dns.GetHostEntryAsync(hostName)).AddressList;
Microsoft.Diagnostics.NETCore.Client (2)
DiagnosticsIpc\IpcTcpSocketEndPoint.cs (2)
139if (hostEntry.AddressList.Length > 0) 141ipAddress = hostEntry.AddressList[0];
System.DirectoryServices (4)
System\DirectoryServices\ActiveDirectory\ADAMInstance.cs (2)
654if (hostEntry.AddressList.GetLength(0) > 0) 656return (hostEntry.AddressList[0]).ToString();
System\DirectoryServices\ActiveDirectory\DomainController.cs (2)
723if (hostEntry.AddressList.GetLength(0) > 0) 725return (hostEntry.AddressList[0]).ToString();
System.Net.NameResolution (6)
System\Net\Dns.cs (5)
54if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(address, $"{ipHostEntry} with {ipHostEntry.AddressList.Length} entries"); 90if (NetEventSource.Log.IsEnabled()) NetEventSource.Info(hostNameOrAddress, $"{ipHostEntry} with {ipHostEntry.AddressList.Length} entries"); 130NetEventSource.Info(hostNameOrAddress, $"{t.Result} with {t.Result.AddressList.Length} entries"); 168if (NetEventSource.Log.IsEnabled()) NetEventSource.Info((IPAddress)s, $"{ipHostEntry} with {ipHostEntry.AddressList.Length} entries"); 814if (isLocalhostSubdomain && result is IPHostEntry entry && entry.AddressList.Length == 0)
System\Net\NameResolutionTelemetry.cs (1)
199IPHostEntry entry => GetStringValues(entry.AddressList),
System.ServiceModel.NetTcp (1)
System\ServiceModel\Channels\DnsCache.cs (1)
113return (await Dns.GetHostEntryAsync(hostName)).AddressList;