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

◆ Close()

void System.Diagnostics.Process.Close ( )
inline

Definition at line 323 of file Process.cs.

324 {
325 bool flag = this.haveProcessId;
326 bool flag2 = this.haveProcessHandle;
327 if (flag)
328 {
329 if (!flag2)
330 {
331 return;
332 }
333 }
334 else if (!flag2)
335 {
336 return;
337 }
338 this.StopWatchingForExit();
339 this.m_processHandle.Close();
340 StreamWriter streamWriter = this.standardInput;
341 this.machineName = ".";
342 if (streamWriter == null || this.inputStreamReadMode == Process.StreamReadMode.undefined)
343 {
344 }
345 if (this.standardOutput == null || this.outputStreamReadMode == Process.StreamReadMode.undefined)
346 {
347 }
348 if (this.standardError == null || this.errorStreamReadMode == Process.StreamReadMode.undefined)
349 {
350 }
351 AsyncStreamReader asyncStreamReader = this.output;
352 if (asyncStreamReader != null)
353 {
356 }
357 AsyncStreamReader asyncStreamReader2 = this.error;
358 if (asyncStreamReader2 != null)
359 {
362 }
363 }
class f__AnonymousType0<< Count > j__TPar
AsyncStreamReader output
Definition Process.cs:910
Process.StreamReadMode inputStreamReadMode
Definition Process.cs:907
AsyncStreamReader error
Definition Process.cs:913
Microsoft.Win32.SafeHandles.SafeProcessHandle m_processHandle
Definition Process.cs:826
StreamReader standardOutput
Definition Process.cs:889
StreamWriter standardInput
Definition Process.cs:892
Process.StreamReadMode outputStreamReadMode
Definition Process.cs:901
StreamReader standardError
Definition Process.cs:895
Process.StreamReadMode errorStreamReadMode
Definition Process.cs:904

References System.Diagnostics.Process.error, System.Diagnostics.Process.errorStreamReadMode, System.Diagnostics.Process.haveProcessHandle, System.Diagnostics.Process.haveProcessId, System.Diagnostics.Process.inputStreamReadMode, j__TPar, System.Diagnostics.Process.m_processHandle, System.Diagnostics.Process.output, System.Diagnostics.Process.outputStreamReadMode, System.Diagnostics.Process.standardError, System.Diagnostics.Process.standardInput, System.Diagnostics.Process.standardOutput, and System.Diagnostics.Process.StopWatchingForExit().

Referenced by System.Diagnostics.Process.Dispose(), and System.Diagnostics.Process.Start().