35 references to IPv6Loopback
HttpAbstractions.SampleApp (2)
Program.cs (2)
33connection.RemoteIpAddress = IPAddress.IPv6Loopback; 35connection.LocalIpAddress = IPAddress.IPv6Loopback;
IIS.Common.TestLib (1)
TestConnections.cs (1)
247? IPAddress.IPv6Loopback
InMemory.FunctionalTests (1)
src\Servers\Kestrel\shared\test\TestConnection.cs (1)
67? IPAddress.IPv6Loopback
Interop.FunctionalTests (1)
Http2\Http2RequestTests.cs (1)
106o.Listen(IPAddress.IPv6Loopback, 0, listenOptions =>
Microsoft.AspNetCore.HttpOverrides (1)
ForwardedHeadersOptions.cs (1)
81public IList<IPAddress> KnownProxies { get; } = new List<IPAddress>() { IPAddress.IPv6Loopback };
Microsoft.AspNetCore.Server.Kestrel.Core (1)
LocalhostListenOptions.cs (1)
49var v6Options = Clone(IPAddress.IPv6Loopback);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (4)
ListenOptionsTests.cs (3)
38var clone = localhostListenOptions.Clone(IPAddress.IPv6Loopback); 56var clone1 = localhostListenOptions.Clone(IPAddress.IPv6Loopback); 63var clone2 = localhostListenOptions.Clone(IPAddress.IPv6Loopback);
src\Servers\Kestrel\shared\test\TestConnection.cs (1)
67? IPAddress.IPv6Loopback
Microsoft.Extensions.ServiceDiscovery.Dns.Tests (4)
DnsSrvServiceEndpointResolverTests.cs (4)
93new ARecord(new ResourceRecordInfo("srv-b", ResourceRecordType.AAAA, queryClass, 64, 0), IPAddress.IPv6Loopback), 121Assert.Equal(new IPEndPoint(IPAddress.IPv6Loopback, 9999), eps[1].EndPoint); 155new ARecord(new ResourceRecordInfo("srv-b", ResourceRecordType.AAAA, queryClass, 64, 0), IPAddress.IPv6Loopback), 213Assert.Equal(new IPEndPoint(IPAddress.IPv6Loopback, 9999), eps[1].EndPoint);
Microsoft.Extensions.ServiceDiscovery.Yarp.Tests (1)
YarpServiceDiscoveryTests.cs (1)
283new ARecord(new ResourceRecordInfo("srv-b", ResourceRecordType.AAAA, queryClass, 64, 0), IPAddress.IPv6Loopback),
Sockets.BindTests (16)
SocketTransportOptionsTests.cs (1)
88yield return new object[] { new IPEndPoint(IPAddress.IPv6Loopback, 0) };
src\Servers\Kestrel\shared\test\TestConnection.cs (1)
67? IPAddress.IPv6Loopback
src\Servers\Kestrel\shared\test\TransportTestHelpers\IPv6SupportedConditionAttribute.cs (1)
26socket.Bind(new IPEndPoint(IPAddress.IPv6Loopback, 0));
src\Servers\Kestrel\test\BindTests\AddressRegistrationTests.cs (13)
100await RegisterIPEndPoint_StaticPort_Success(IPAddress.IPv6Loopback, $"http://[::1]"); 137if (!CanBindToEndpoint(IPAddress.Loopback, 5000) || !CanBindToEndpoint(IPAddress.IPv6Loopback, 5000)) 150if (!CanBindToEndpoint(IPAddress.Loopback, 80) || !CanBindToEndpoint(IPAddress.IPv6Loopback, 80)) 463if (!CanBindToEndpoint(IPAddress.Loopback, 5000) || !CanBindToEndpoint(IPAddress.IPv6Loopback, 5000)) 489if (!CanBindToEndpoint(IPAddress.Loopback, 5000) || !CanBindToEndpoint(IPAddress.IPv6Loopback, 5000)) 575socket.Bind(new IPEndPoint(IPAddress.IPv6Loopback, 0)); 852options.Listen(IPAddress.IPv6Loopback, port); 875options.Listen(IPAddress.IPv6Loopback, port); 933var address = addressFamily == AddressFamily.InterNetwork ? IPAddress.Loopback : IPAddress.IPv6Loopback; 1051dataset.Add(new IPEndPoint(IPAddress.IPv6Loopback, 0), "http://[::1]"); 1052dataset.Add(new IPEndPoint(IPAddress.IPv6Loopback, 0), "https://[::1]"); 1103{ new IPEndPoint(IPAddress.IPv6Loopback, 443), "https://[::1]" }, 1123.Where(ip => !ip.Equals(IPAddress.IPv6Loopback))
Sockets.FunctionalTests (2)
src\Servers\Kestrel\shared\test\TestConnection.cs (1)
67? IPAddress.IPv6Loopback
src\Servers\Kestrel\shared\test\TransportTestHelpers\IPv6SupportedConditionAttribute.cs (1)
26socket.Bind(new IPEndPoint(IPAddress.IPv6Loopback, 0));
System.Net.Primitives (1)
System\Net\IPAddress.cs (1)
561return address.Equals(IPv6Loopback) || address.Equals(s_loopbackMappedToIPv6);