12 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 (3)
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 (1)
761private static void ThrowSocketOperationNotSupported() => throw new SocketException(SocketError.OperationNotSupported);
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)
3904error != SocketError.OperationNotSupported;
System\Net\Sockets\Socket.Unix.cs (1)
306catch (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);