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.FileWebRequest.BeginGetResponse ( AsyncCallback callback,
object state )
inlinevirtual

Reimplemented from System.Net.WebRequest.

Definition at line 323 of file FileWebRequest.cs.

324 {
325 if (this.m_Aborted == 0)
326 {
327 if (this.m_readPending)
328 {
329 goto IL_0040;
330 }
331 int num = 1;
332 long num2 = 0L;
333 this.m_readPending = num != 0;
334 if (num != 0)
335 {
336 Monitor.Exit(this);
337 }
338 if (num2 != 0L)
339 {
340 goto IL_004C;
341 }
342 LazyAsyncResult writeAResult = this.m_WriteAResult;
343 LazyAsyncResult writeAResult2 = this.m_WriteAResult;
344 }
345 WebException requestAbortedException = ExceptionHelper.RequestAbortedException;
346 IL_0040:
347 string @string = SR.GetString("Cannot re-call BeginGetRequestStream/BeginGetResponse while a previous call is still in progress.");
348 IL_004C:
349 throw new OutOfMemoryException();
350 }
class f__AnonymousType0<< Count > j__TPar
static string GetString(string name, params object[] args)
Definition SR.cs:9
Definition SR.cs:7
LazyAsyncResult m_WriteAResult
static void Exit(object obj)
Definition Monitor.cs:47

References System.Threading.Monitor.Exit(), SR.GetString(), j__TPar, System.L, System.Net.FileWebRequest.m_Aborted, System.Net.FileWebRequest.m_readPending, System.Net.FileWebRequest.m_WriteAResult, and System.Net.ExceptionHelper.RequestAbortedException.