15 references to InvalidArgument
ClientSample (1)
Tcp\TcpConnection.cs (1)
123ex.SocketErrorCode == SocketError.InvalidArgument)
Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets (1)
Internal\SocketConnection.cs (1)
432(errorCode == SocketError.InvalidArgument && !OperatingSystem.IsWindows());
System.Net.NameResolution (1)
System\Net\NameResolutionPal.Unix.cs (1)
37return SocketError.InvalidArgument;
System.Net.Ping (2)
src\libraries\Common\src\System\Net\Sockets\SocketErrorPal.Unix.cs (2)
54{ Interop.Error.EINVAL, SocketError.InvalidArgument }, 104{ SocketError.InvalidArgument, Interop.Error.EINVAL },
System.Net.Primitives (3)
src\libraries\Common\src\System\Net\Sockets\SocketErrorPal.Unix.cs (2)
54{ Interop.Error.EINVAL, SocketError.InvalidArgument }, 104{ SocketError.InvalidArgument, Interop.Error.EINVAL },
System\Net\IPAddressParser.cs (1)
45throw new FormatException(SR.dns_bad_ip_address, new SocketException(SocketError.InvalidArgument));
System.Net.Sockets (7)
src\libraries\Common\src\System\Net\Sockets\SocketErrorPal.Unix.cs (2)
54{ Interop.Error.EINVAL, SocketError.InvalidArgument }, 104{ SocketError.InvalidArgument, Interop.Error.EINVAL },
System\Net\Sockets\Socket.cs (2)
215case SocketError.InvalidArgument: 807UpdateStatusAfterSocketErrorAndThrowException(SocketError.InvalidArgument);
System\Net\Sockets\Socket.Unix.cs (1)
199throw new SocketException((int)SocketError.InvalidArgument);
System\Net\Sockets\SocketPal.Unix.cs (1)
2147exc is ArgumentException ? SocketError.InvalidArgument :
System\Net\Sockets\SocketsTelemetry.cs (1)
248SocketError.InvalidArgument => "invalid_argument",