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)
772
private void ThrowSocketOperationNotSupported() => throw new SocketException(SocketError.
OperationNotSupported
, SR.Format(SR.net_SocketException_OperationNotSupported, AddressFamily));
775
private 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)
3903
error != SocketError.
OperationNotSupported
;
System\Net\Sockets\Socket.Unix.cs (1)
284
catch (TargetInvocationException ex) when (ex.InnerException is SocketException se && se.SocketErrorCode == SocketError.
OperationNotSupported
)
System\Net\Sockets\UDPClient.cs (3)
427
throw new SocketException((int)SocketError.
OperationNotSupported
);
447
throw new SocketException((int)SocketError.
OperationNotSupported
);
515
throw new SocketException((int)SocketError.
OperationNotSupported
);