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

◆ WaitForExit() [2/2]

bool System.Diagnostics.Process.WaitForExit ( int milliseconds)
inline

Definition at line 603 of file Process.cs.

604 {
605 long num = 0L;
607 this.signaled = true;
608 AsyncStreamReader asyncStreamReader = this.output;
609 if (asyncStreamReader != null && asyncStreamReader.eofEvent != null)
610 {
611 ManualResetEvent eofEvent = asyncStreamReader.eofEvent;
612 }
613 AsyncStreamReader asyncStreamReader2 = this.error;
614 if (asyncStreamReader2 != null && asyncStreamReader2.eofEvent != null)
615 {
617 }
618 long num2 = 0L;
619 if (processHandle != null)
620 {
621 if (this.haveProcessHandle)
622 {
624 }
625 processHandle.Close();
626 }
627 if (num2 == 0L && 7 == 0 && this.watchForExit)
628 {
629 this.RaiseOnExited();
630 }
631 throw new OutOfMemoryException();
632 }
class f__AnonymousType0<< Count > j__TPar
AsyncStreamReader output
Definition Process.cs:910
AsyncStreamReader error
Definition Process.cs:913
Microsoft.Win32.SafeHandles.SafeProcessHandle m_processHandle
Definition Process.cs:826
Microsoft.Win32.SafeHandles.SafeProcessHandle GetProcessHandle(int access, bool throwIfExited)
Definition Process.cs:458

References System.Runtime.InteropServices.SafeHandle.Close(), System.Diagnostics.AsyncStreamReader.eofEvent, System.Diagnostics.Process.error, System.Diagnostics.Process.GetProcessHandle(), System.Diagnostics.Process.haveProcessHandle, j__TPar, System.L, System.Diagnostics.Process.m_processHandle, System.Diagnostics.Process.output, System.Diagnostics.Process.RaiseOnExited(), and System.Diagnostics.Process.watchForExit.