2 writes to OwnsHandle
System.Net.Sockets (2)
System\Net\Sockets\SafeSocketHandle.cs (2)
36
public SafeSocketHandle() : base(ownsHandle: true) =>
OwnsHandle
= true;
49
OwnsHandle
= ownsHandle; // Track if the SafesocketHandle is owning.
3 references to OwnsHandle
System.Net.Sockets (3)
System\Net\Sockets\SafeSocketHandle.cs (1)
152
ret = !
OwnsHandle
|| DoCloseHandle(abortive) == SocketError.Success;
System\Net\Sockets\SafeSocketHandle.Unix.cs (1)
190
if (!
OwnsHandle
)
System\Net\Sockets\Socket.cs (1)
3420
else if (handle.
OwnsHandle
)