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

◆ BeginGetResponse()

override IAsyncResult System.Net.FtpWebRequest.BeginGetResponse ( AsyncCallback callback,
object state )
inlinevirtual

Reimplemented from System.Net.WebRequest.

Definition at line 384 of file FtpWebRequest.cs.

385 {
386 int num = 1;
387 if (num == 0)
388 {
389 }
390 bool isEnabled = NetEventSource.IsEnabled;
391 if (num == 0)
392 {
393 }
394 string method = this._methodInfo.Method;
395 if (method == null || method != null)
396 {
398 NetEventSource.Info(this, formattableString, "BeginGetResponse");
399 if (this._ftpWebResponse != null)
400 {
402 }
403 if (!this._getResponseStarted)
404 {
406 int num2 = 1;
407 this._getResponseStarted = num2 != 0;
408 if (exception != null)
409 {
411 }
412 long num3 = 0L;
413 object syncObject = this._syncObject;
414 Monitor.Enter(syncObject, num3 != 0L);
416 long num4 = 0L;
417 int num5 = 10;
418 if (requestStage != FtpWebRequest.RequestStage.CheckForError)
419 {
420 Monitor.Exit(syncObject);
421 }
422 if (num4 == 0L)
423 {
424 int num10;
425 if (num5 == 0)
426 {
427 LazyAsyncResult readAsyncResult = this._readAsyncResult;
428 if (readAsyncResult != null)
429 {
430 }
432 readAsyncResult.InvokeCallback();
433 long num6 = 0L;
434 object obj;
435 Monitor.Enter(obj, num6 != 0L);
436 int num7 = 1;
437 this.SubmitRequest(num7 != 0);
438 long num8 = 0L;
439 int num9 = 13;
440 Monitor.Exit(syncObject);
441 if (num8 != 0L)
442 {
443 throw new OutOfMemoryException();
444 }
445 if (num9 == 0)
446 {
447 num10 = 14;
448 }
449 }
450 long num11 = 0L;
451 bool isEnabled2 = NetEventSource.IsEnabled;
452 if (num11 != 0L || num10 == 0)
453 {
454 }
455 throw new OutOfMemoryException();
456 }
457 throw new OutOfMemoryException();
458 }
459 }
460 throw new ArrayTypeMismatchException();
461 }
class f__AnonymousType0<< Count > j__TPar
LazyAsyncResult _readAsyncResult
FtpWebResponse _ftpWebResponse
FtpWebRequest.RequestStage _requestStage
void SubmitRequest(bool isAsync)
static void Exit(object obj)
Definition Monitor.cs:47
static void Enter(object obj)
Definition Monitor.cs:11

References System.Net.FtpWebRequest._exception, System.Net.FtpWebRequest._ftpWebResponse, System.Net.FtpWebRequest._getResponseStarted, System.Net.FtpWebRequest._methodInfo, System.Net.FtpWebRequest._readAsyncResult, System.Net.FtpWebRequest._requestStage, System.Net.FtpWebRequest._syncObject, System.Threading.Monitor.Enter(), System.exception, System.Threading.Monitor.Exit(), System.Net.NetEventSource.Info(), System.Net.LazyAsyncResult.InternalPeekCompleted, System.Net.NetEventSource.IsEnabled, j__TPar, System.L, System.Net.FtpMethodInfo.Method, System.obj, System.Net.FtpWebRequest.SubmitRequest(), and System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw().