10 references to GetMaximumAddressSize
System.Net.Ping (2)
src\libraries\Common\src\System\Net\IPEndPointExtensions.cs (1)
66
if (socketAddressBuffer.Length >= SocketAddress.
GetMaximumAddressSize
(endPoint.AddressFamily) &&
System\Net\NetworkInformation\Ping.RawSocket.cs (1)
302
Span<byte> socketAddress = stackalloc byte[SocketAddress.
GetMaximumAddressSize
(address.AddressFamily)];
System.Net.Primitives (2)
src\libraries\Common\src\System\Net\IPEndPointExtensions.cs (1)
66
if (socketAddressBuffer.Length >= SocketAddress.
GetMaximumAddressSize
(endPoint.AddressFamily) &&
src\libraries\Common\src\System\Net\SocketAddress.cs (1)
80
public SocketAddress(AddressFamily family) : this(family,
GetMaximumAddressSize
(family))
System.Net.Quic (1)
src\libraries\Common\src\System\Net\IPEndPointExtensions.cs (1)
66
if (socketAddressBuffer.Length >= SocketAddress.
GetMaximumAddressSize
(endPoint.AddressFamily) &&
System.Net.Sockets (5)
src\libraries\Common\src\System\Net\IPEndPointExtensions.cs (1)
66
if (socketAddressBuffer.Length >= SocketAddress.
GetMaximumAddressSize
(endPoint.AddressFamily) &&
System\Net\Sockets\Socket.cs (3)
309
Span<byte> buffer = stackalloc byte[SocketAddress.
GetMaximumAddressSize
(_addressFamily)];
357
Span<byte> buffer = stackalloc byte[SocketAddress.
GetMaximumAddressSize
(_addressFamily)];
2027
if (receivedAddress.Size < SocketAddress.
GetMaximumAddressSize
(AddressFamily))
System\Net\Sockets\Socket.Tasks.cs (1)
417
if (receivedAddress.Size < SocketAddress.
GetMaximumAddressSize
(AddressFamily))