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.TcpClient.Dispose ( bool disposing)
inlineprotectedvirtual

Definition at line 237 of file TcpClient.cs.

238 {
239 bool on = Logging.On;
240 if (!this.m_CleanedUp)
241 {
242 if (this.m_DataStream != null)
243 {
244 return;
245 }
247 if (clientSocket != null)
248 {
250 return;
251 }
252 GC.SuppressFinalize(this);
253 int num = 1;
254 this.m_CleanedUp = num != 0;
255 }
256 bool on2 = Logging.On;
257 }
class f__AnonymousType0<< Count > j__TPar
static void SuppressFinalize(object obj)
Definition GC.cs:116

References System.Net.Sockets.Socket.Close(), j__TPar, System.Net.Sockets.TcpClient.m_CleanedUp, System.Net.Sockets.TcpClient.m_ClientSocket, System.Net.Sockets.TcpClient.m_DataStream, System.Net.Logging.On, and System.GC.SuppressFinalize().

Referenced by Telepathy.Client.Disconnect().