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

◆ MoveNext()

void System.Net.WebRequestStream.d__34.MoveNext ( )
inlineprivate

Implements System.Runtime.CompilerServices.IAsyncStateMachine.

Definition at line 460 of file WebRequestStream.cs.

461 {
464 webRequestStream.<Operation>k__BackingField.ThrowIfClosedOrDisposed(cancellationToken);
465 if (webRequestStream.sendChunked)
466 {
467 int num = 1;
469 int num2 = this.size;
471 int num3 = this.size;
472 CodePageDataItem dataItem = ascii.dataItem;
474 byte[] array = this.buffer;
475 int num4 = this.offset;
476 int num5 = this.size;
478 if (num3 == 0)
479 {
480 }
482 int num6 = this.size;
483 if (webRequestStream.allowBuffering)
484 {
485 if (webRequestStream.writeBuffer == null)
486 {
487 }
488 byte[] array2 = this.buffer;
489 int num7 = this.offset;
490 int num8 = this.size;
491 }
492 long totalWritten = webRequestStream.totalWritten;
494 string text;
495 this.size = text;
498 return;
499 }
500 HttpWebRequest <Request>k__BackingField = webRequestStream.<Request>k__BackingField;
501 long totalWritten2 = webRequestStream.totalWritten;
502 if (webRequestStream.allowBuffering)
503 {
504 if (webRequestStream.writeBuffer == null)
505 {
506 }
507 byte[] array3 = this.buffer;
508 int num9 = this.offset;
509 int num10 = this.size;
510 long totalWritten3 = webRequestStream.totalWritten;
511 HttpWebRequest <Request>k__BackingField2 = webRequestStream.<Request>k__BackingField;
513 HttpWebRequest <Request>k__BackingField3 = webRequestStream.<Request>k__BackingField;
514 long totalWritten4 = webRequestStream.totalWritten;
516 int num11 = 1;
519 long totalWritten5 = webRequestStream.totalWritten;
520 return;
521 }
522 long totalWritten6 = webRequestStream.totalWritten;
524 byte[] array4 = this.buffer;
525 int num12 = this.offset;
526 }
class f__AnonymousType0<< Count > j__TPar
readonly Stream< InnerStream > k__BackingField
static Encoding ASCII
Definition Encoding.cs:348

References System.array, System.Text.Encoding.ASCII, System.Net.WebRequestStream.InnerStream, j__TPar, System.Net.WebRequestStream.k__BackingField, System.offset, System.Net.WebConnectionStream.Operation, System.Net.WebConnectionStream.Request, System.text, System.Net.WebRequestStream.totalWritten, and System.Net.WebRequestStream.writeBuffer.