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

◆ AttemptedRecovery()

bool System.Net.FtpWebRequest.AttemptedRecovery ( Exception e)
inlineprivate

Definition at line 780 of file FtpWebRequest.cs.

781 {
782 FtpControlStream connection;
783 do
784 {
785 if (e != null)
786 {
787 }
788 if (this._onceFailed || this._aborted || this._timedOut)
789 {
790 }
791 connection = this._connection;
792 while (connection == null)
793 {
794 }
795 }
796 while (!connection._recoverableFailure);
797 object syncObject = this._syncObject;
798 int num = 1;
799 this._onceFailed = num != 0;
800 FtpControlStream connection2 = this._connection;
801 long num2;
802 if (connection2 != null)
803 {
804 global::System.Net.Sockets.NetworkStream networkStream = connection2._networkStream;
805 connection2._client.Dispose();
806 bool isEnabled = NetEventSource.IsEnabled;
807 FtpControlStream connection3 = this._connection;
808 if (connection3 != null && connection3 == null)
809 {
810 throw new ArrayTypeMismatchException();
811 }
812 if ("Releasing connection: {0}" == null)
813 {
814 }
816 NetEventSource.Info(this, formattableString, "AttemptedRecovery");
817 num2 = 0L;
818 }
819 if ("AttemptedRecovery" != null)
820 {
821 Monitor.Exit(syncObject);
822 }
823 if (num2 == 0L)
824 {
825 }
826 throw new OutOfMemoryException();
827 }
class f__AnonymousType0<< Count > j__TPar
FtpControlStream _connection
global::System.Net.Sockets.NetworkStream NetworkStream
static void Exit(object obj)
Definition Monitor.cs:47

References System.Net.FtpWebRequest._aborted, System.Net.FtpWebRequest._connection, System.Net.FtpWebRequest._onceFailed, System.Net.FtpWebRequest._syncObject, System.Net.FtpWebRequest._timedOut, System.Threading.Monitor.Exit(), System.Net.NetEventSource.Info(), System.Net.NetEventSource.IsEnabled, j__TPar, System.L, and System.Net.NetworkStreamWrapper.NetworkStream.