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