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

◆ GetRequestStream()

override Stream System.Net.FtpWebRequest.GetRequestStream ( )
inlinevirtual

Reimplemented from System.Net.WebRequest.

Definition at line 506 of file FtpWebRequest.cs.

507 {
508 int num6;
509 do
510 {
511 int num = 1;
512 if (num == 0)
513 {
514 }
515 bool isEnabled = NetEventSource.IsEnabled;
516 if (num == 0)
517 {
518 }
519 string method = this._methodInfo.Method;
520 if (method != null && method == null)
521 {
522 goto IL_0138;
523 }
525 NetEventSource.Info(this, formattableString, "GetRequestStream");
527 {
528 goto IL_0128;
529 }
530 FtpMethodInfo methodInfo = this._methodInfo;
531 int num2 = 1;
533 FtpMethodFlags flags = methodInfo.Flags;
535 if (exception != null)
536 {
538 }
539 if (flags == FtpMethodFlags.None)
540 {
541 }
547 double totalMilliseconds = (utcNow2 - startTime).TotalMilliseconds;
548 int num3 = 32768;
550 long num4 = 0L;
551 this.SubmitRequest(num4 != 0L);
553 if (exception2 != null)
554 {
556 }
557 Stream stream = this._stream;
558 Stream stream2 = this._stream;
559 int readWriteTimeout = this._readWriteTimeout;
560 Stream stream3 = this._stream;
562 long num5 = 0L;
563 num6 = 13;
564 bool isEnabled2 = NetEventSource.IsEnabled;
565 if (num5 != 0L)
566 {
567 goto IL_0128;
568 }
569 }
570 while (num6 != 0);
571 return this._stream;
572 IL_0128:
573 throw new OutOfMemoryException();
574 IL_0138:
575 throw new ArrayTypeMismatchException();
576 }
class f__AnonymousType0<< Count > j__TPar
void SubmitRequest(bool isAsync)
static DateTime UtcNow
Definition DateTime.cs:1318

References System.Net.FtpWebRequest._exception, System.Net.FtpWebRequest._getRequestStreamStarted, System.Net.FtpWebRequest._methodInfo, System.Net.FtpWebRequest._readWriteTimeout, System.Net.FtpWebRequest._startTime, System.Net.FtpWebRequest._stream, System.exception, System.Net.NetEventSource.Info(), System.Net.NetEventSource.IsEnabled, j__TPar, System.L, System.Net.FtpMethodInfo.Method, System.Net.FtpWebRequest.SubmitRequest(), System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw(), and System.DateTime.UtcNow.