13 references to OperationNotSupported
System.Net.Ping (2)
src\libraries\Common\src\System\Net\Sockets\SocketErrorPal.Unix.cs (2)
68{ Interop.Error.ENOTSUP, SocketError.OperationNotSupported }, 116{ SocketError.OperationNotSupported, Interop.Error.ENOTSUP },
System.Net.Primitives (4)
src\libraries\Common\src\System\Net\Sockets\SocketErrorPal.Unix.cs (2)
68{ Interop.Error.ENOTSUP, SocketError.OperationNotSupported }, 116{ SocketError.OperationNotSupported, Interop.Error.ENOTSUP },
System\Net\IPAddress.cs (2)
772private void ThrowSocketOperationNotSupported() => throw new SocketException(SocketError.OperationNotSupported, SR.Format(SR.net_SocketException_OperationNotSupported, AddressFamily)); 775private static void ThrowSocketOperationNotSupportedReadOnly() => throw new SocketException(SocketError.OperationNotSupported, SR.net_SocketException_OperationNotSupported_ReadOnlyIPAddress);
System.Net.Sockets (7)
src\libraries\Common\src\System\Net\Sockets\SocketErrorPal.Unix.cs (2)
68{ Interop.Error.ENOTSUP, SocketError.OperationNotSupported }, 116{ SocketError.OperationNotSupported, Interop.Error.ENOTSUP },
System\Net\Sockets\Socket.cs (1)
3903error != SocketError.OperationNotSupported;
System\Net\Sockets\Socket.Unix.cs (1)
284catch (TargetInvocationException ex) when (ex.InnerException is SocketException se && se.SocketErrorCode == SocketError.OperationNotSupported)
System\Net\Sockets\UDPClient.cs (3)
427throw new SocketException((int)SocketError.OperationNotSupported); 447throw new SocketException((int)SocketError.OperationNotSupported); 515throw new SocketException((int)SocketError.OperationNotSupported);