7 instantiations of DnsEndPoint
Microsoft.AspNetCore.InternalTesting (1)
HttpClientSlim.cs (1)
176socketArgs.RemoteEndPoint = new DnsEndPoint(requestUri.DnsSafeHost, requestUri.Port);
Microsoft.Gen.Logging.Generated.Tests (1)
LogPropertiesTests.cs (1)
99P9 = new DnsEndPoint("microsoft.com", 42),
Sockets.BindTests (1)
src\Servers\Kestrel\shared\test\TransportTestHelpers\HostNameIsReachableAttribute.cs (1)
67socketArgs.RemoteEndPoint = new DnsEndPoint(hostName, port);
Sockets.FunctionalTests (1)
src\Servers\Kestrel\shared\test\TransportTestHelpers\HostNameIsReachableAttribute.cs (1)
67socketArgs.RemoteEndPoint = new DnsEndPoint(hostName, port);
System.Net.Http (2)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (1)
653var endPoint = new DnsEndPoint(host, port);
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http3.cs (1)
269QuicConnection quicConnection = await ConnectHelper.ConnectQuicAsync(queueItem.Request, new DnsEndPoint(authority.IdnHost, authority.Port), _poolManager.Settings._pooledConnectionIdleTimeout, _sslOptionsHttp3!, connection.StreamCapacityCallback, cts.Token).ConfigureAwait(false);
System.Net.Sockets (1)
System\Net\Sockets\Socket.Tasks.cs (1)
218new DnsEndPoint(host, port);
25 references to DnsEndPoint
Aspire.StackExchange.Redis (1)
src\Vendoring\OpenTelemetry.Instrumentation.StackExchangeRedis\Implementation\RedisProfilerEntryToActivityConverter.cs (1)
146else if (command.EndPoint is DnsEndPoint dnsEndPoint)
Microsoft.AspNetCore.SignalR.StackExchangeRedis.Tests (2)
RedisDependencyInjectionExtensionsTests.cs (2)
34var dnsEndpoint = Assert.IsType<DnsEndPoint>(endpoint);
Microsoft.Gen.Logging.Generated.Tests (1)
test\Generators\Microsoft.Gen.Logging\TestClasses\LogPropertiesSpecialTypesExtensions.cs (1)
26public DnsEndPoint? P9 { get; set; }
netstandard (1)
netstandard.cs (1)
1080[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.DnsEndPoint))]
System (1)
src\libraries\shims\System\ref\System.cs (1)
607[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.DnsEndPoint))]
System.Net (1)
System.Net.cs (1)
8[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Net.DnsEndPoint))]
System.Net.Http (5)
System\Net\Http\SocketsHttpHandler\ConnectHelper.cs (1)
115public static async ValueTask<QuicConnection> ConnectQuicAsync(HttpRequestMessage request, DnsEndPoint endPoint, TimeSpan idleTimeout, SslClientAuthenticationOptions clientAuthenticationOptions, Action<QuicConnection, QuicStreamCapacityChangedArgs> streamCapacityCallback, CancellationToken cancellationToken)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.cs (1)
653var endPoint = new DnsEndPoint(host, port);
System\Net\Http\SocketsHttpHandler\SocketsHttpConnectionContext.cs (3)
11private readonly DnsEndPoint _dnsEndPoint; 14internal SocketsHttpConnectionContext(DnsEndPoint dnsEndPoint, HttpRequestMessage initialRequestMessage) 23public DnsEndPoint DnsEndPoint => _dnsEndPoint;
System.Net.Primitives (1)
System\Net\DnsEndPoint.cs (1)
37comparand is DnsEndPoint dnsComparand &&
System.Net.Quic (2)
System\Net\Quic\Internal\MsQuicHelpers.cs (1)
17if (endPoint is DnsEndPoint dnsEndPoint)
System\Net\Quic\QuicConnectionOptions.cs (1)
189/// The remote endpoint to connect to. May be both <see cref="DnsEndPoint"/>, which will get resolved to an IP before connecting, or directly <see cref="IPEndPoint"/>.
System.Net.Sockets (10)
System\Net\Sockets\Socket.cs (9)
855DnsEndPoint? dnsEP = remoteEP as DnsEndPoint; 2905DnsEndPoint? dnsEP = endPointSnapshot as DnsEndPoint; 2998DnsEndPoint? dnsEP = endPointSnapshot as DnsEndPoint; 3096if (endPointSnapshot is DnsEndPoint) 3342else if (remoteEP is DnsEndPoint) 3957if (remoteEndPoint is DnsEndPoint)
System\Net\Sockets\SocketAsyncEventArgs.cs (1)
681internal bool DnsConnectAsync(DnsEndPoint endPoint, SocketType socketType, ProtocolType protocolType, CancellationToken cancellationToken)