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)
761
private 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)
3904
error != SocketError.
OperationNotSupported
;
System\Net\Sockets\Socket.Unix.cs (1)
306
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
);