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

◆ Abort()

override void System.Net.FileWebRequest.Abort ( )
inlinevirtual

Reimplemented from System.Net.WebRequest.

Definition at line 533 of file FileWebRequest.cs.

534 {
535 int num = Interlocked.Increment(Logging.On ? 1 : 0);
536 LazyAsyncResult writeAResult = this.m_WriteAResult;
537 LazyAsyncResult readAResult = this.m_ReadAResult;
538 Stream stream = this.m_stream;
539 if (readAResult == null || readAResult.m_IntCompleted == 0)
540 {
541 }
542 if (writeAResult == null || writeAResult.m_IntCompleted == 0)
543 {
544 }
545 if (stream != null)
546 {
547 if (stream == null)
548 {
549 return;
550 }
551 if (stream == null)
552 {
553 throw new InvalidCastException();
554 }
555 if (stream != null)
556 {
557 return;
558 }
559 throw new InvalidCastException();
560 }
561 else
562 {
563 WebResponse response = this.m_response;
564 if (response == null)
565 {
566 return;
567 }
568 if (response == null)
569 {
570 throw new InvalidCastException();
571 }
572 if (response != null)
573 {
574 return;
575 }
576 throw new InvalidCastException();
577 }
578 }
class f__AnonymousType0<< Count > j__TPar
LazyAsyncResult m_WriteAResult
LazyAsyncResult m_ReadAResult
static int Increment(int location)

References System.Threading.Interlocked.Increment(), j__TPar, System.Net.LazyAsyncResult.m_IntCompleted, System.Net.FileWebRequest.m_ReadAResult, System.Net.FileWebRequest.m_response, System.Net.FileWebRequest.m_stream, System.Net.FileWebRequest.m_WriteAResult, and System.Net.Logging.On.