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

◆ BeginGetRequestStream()

override IAsyncResult System.Net.FileWebRequest.BeginGetRequestStream ( AsyncCallback callback,
object state )
inlinevirtual

Reimplemented from System.Net.WebRequest.

Definition at line 285 of file FileWebRequest.cs.

286 {
287 if (this.m_Aborted == 0)
288 {
289 bool flag = this.CanGetRequestStream();
290 WebResponse response = this.m_response;
291 if (this.m_writePending)
292 {
293 goto IL_006F;
294 }
295 int num = 1;
296 long num2 = 0L;
297 this.m_writePending = num != 0;
298 int num3 = 14;
299 if (num != 0)
300 {
301 Monitor.Exit(this);
302 }
303 if (num2 != 0L)
304 {
305 goto IL_007B;
306 }
307 if (num3 == 0)
308 {
309 LazyAsyncResult readAResult = this.m_ReadAResult;
310 LazyAsyncResult readAResult2 = this.m_ReadAResult;
311 }
312 }
313 WebException requestAbortedException = ExceptionHelper.RequestAbortedException;
314 string @string = SR.GetString("Cannot send a content-body with this verb-type.");
315 string string2 = SR.GetString("This operation cannot be performed after the request has been submitted.");
316 IL_006F:
317 string string3 = SR.GetString("Cannot re-call BeginGetRequestStream/BeginGetResponse while a previous call is still in progress.");
318 IL_007B:
319 throw new OutOfMemoryException();
320 }
class f__AnonymousType0<< Count > j__TPar
static string GetString(string name, params object[] args)
Definition SR.cs:9
Definition SR.cs:7
LazyAsyncResult m_ReadAResult
static void Exit(object obj)
Definition Monitor.cs:47

References System.Net.FileWebRequest.CanGetRequestStream(), System.Threading.Monitor.Exit(), SR.GetString(), j__TPar, System.L, System.Net.FileWebRequest.m_Aborted, System.Net.FileWebRequest.m_ReadAResult, System.Net.FileWebRequest.m_response, System.Net.FileWebRequest.m_writePending, and System.Net.ExceptionHelper.RequestAbortedException.