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

◆ StartOperation()

bool System.Net.WebConnection.StartOperation ( WebOperation operation,
bool reused )
inline

Definition at line 373 of file WebConnection.cs.

374 {
375 int num = this.disposed;
376 if (num != 0 || this != null)
377 {
378 long num2 = 0L;
379 int num3 = 3;
380 if (num != 0)
381 {
382 Monitor.Exit(this);
383 }
384 if (num2 != 0L)
385 {
386 goto IL_0083;
387 }
388 if (num3 == 0)
389 {
390 operation.Run();
391 }
392 }
395 DateTime dateTime = utcNow + timeSpan;
396 this.idleSince = dateTime;
397 bool flag = this.PrepareSharingNtlm(operation);
398 int num4 = 1;
399 this.Close(num4 != 0);
400 ServicePoint servicePoint = this.<ServicePoint>k__BackingField;
401 operation.RegisterRequest(servicePoint, this);
402 IL_0083:
403 throw new OutOfMemoryException();
404 }
class f__AnonymousType0<< Count > j__TPar
bool PrepareSharingNtlm(WebOperation operation)
readonly ServicePoint< ServicePoint > k__BackingField
static void Exit(object obj)
Definition Monitor.cs:47
static DateTime UtcNow
Definition DateTime.cs:1318
static TimeSpan FromDays(double value)
Definition TimeSpan.cs:172

References System.Net.WebConnection.Close(), System.Net.WebConnection.disposed, System.Threading.Monitor.Exit(), System.TimeSpan.FromDays(), j__TPar, System.Net.WebConnection.k__BackingField, System.L, System.Net.WebConnection.PrepareSharingNtlm(), System.Net.WebOperation.RegisterRequest(), System.Net.WebOperation.Run(), and System.DateTime.UtcNow.