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

◆ EnsureWatchingForExit()

void System.Diagnostics.Process.EnsureWatchingForExit ( )
inlineprivate

Definition at line 393 of file Process.cs.

394 {
395 if (!this.watchingForExit)
396 {
397 if (this.watchingForExit)
398 {
399 return;
400 }
401 int num = 1;
402 this.watchingForExit = num != 0;
404 long num2 = 0L;
407 Monitor.Exit(this);
408 if (num2 != 0L)
409 {
410 throw new OutOfMemoryException();
411 }
412 }
413 }
class f__AnonymousType0<< Count > j__TPar
Microsoft.Win32.SafeHandles.SafeProcessHandle m_processHandle
Definition Process.cs:826
RegisteredWaitHandle registeredWaitHandle
Definition Process.cs:880
static void Exit(object obj)
Definition Monitor.cs:47

References System.Threading.Monitor.Exit(), j__TPar, System.L, System.Diagnostics.Process.m_processHandle, System.Diagnostics.Process.registeredWaitHandle, and System.Diagnostics.Process.watchingForExit.

Referenced by System.Diagnostics.Process.SetProcessHandle().