terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ Dispose() [2/2]

virtual void System.Net.Sockets.Socket.Dispose ( bool disposing)
inlineprotectedvirtual

Definition at line 1752 of file Socket.cs.

1753 {
1754 SafeSocketHandle handle;
1755 bool flag;
1756 do
1757 {
1758 int intCleanedUp = this.m_IntCleanedUp;
1759 handle = this.m_Handle;
1760 flag = this.is_connected;
1762 if (handle == null)
1763 {
1764 return;
1765 }
1766 this.is_closed = true;
1767 }
1768 while (!flag);
1769 IntPtr handle2 = handle.handle;
1770 this.Linger(handle2);
1771 this.m_Handle.Dispose();
1772 }
class f__AnonymousType0<< Count > j__TPar
SafeSocketHandle m_Handle
Definition Socket.cs:2058

References System.Runtime.InteropServices.SafeHandle.Dispose(), System.Runtime.InteropServices.SafeHandle.handle, System.Net.Sockets.Socket.is_connected, j__TPar, System.Net.Sockets.Linger, System.Net.Sockets.Socket.m_Handle, and System.Net.Sockets.Socket.m_IntCleanedUp.