2 writes to _processId
System.Diagnostics.Process (2)
System\Diagnostics\Process.cs (2)
115_processId = processId; 1220_processId = processId;
18 references to _processId
System.Diagnostics.Process (18)
System\Diagnostics\Process.cs (5)
241return _processId; 315_modules = ProcessManager.GetModules(_processId); 599newThreadsArray[i] = new ProcessThread(_isRemoteMachine, _processId, (ThreadInfo)_processInfo._threadInfoList[i]); 984_processInfo = ProcessManager.GetProcessInfo(_processId, _machineName); 1393_processInfo ??= ProcessManager.GetProcessInfo(_processId, _machineName);
System\Diagnostics\Process.Linux.cs (4)
163string path = Interop.procfs.GetFileDescriptorDirectoryPathForProcess(_processId); 187if (Interop.Sys.SchedGetAffinity(_processId, out set) != 0) 198if (Interop.Sys.SchedSetAffinity(_processId, ref value) != 0) 365if (!Interop.procfs.TryReadStatFile(_processId, out stat))
System\Diagnostics\Process.Unix.cs (9)
76int killResult = Interop.Sys.Kill(_processId, Interop.Sys.Signals.SIGKILL); 112int stopResult = Interop.Sys.Kill(_processId, Interop.Sys.Signals.SIGSTOP); 126int killResult = Interop.Sys.Kill(_processId, Interop.Sys.Signals.SIGKILL); 266int errno = Interop.Sys.GetPriority(Interop.Sys.PriorityWhich.PRIO_PROCESS, _processId, out int pri); 298int result = Interop.Sys.SetPriority(Interop.Sys.PriorityWhich.PRIO_PROCESS, _processId, pri); 341throw new InvalidOperationException(SR.Format(SR.ProcessHasExited, _processId.ToString())); 359return new SafeProcessHandle(_processId, GetSafeWaitHandle()); 534SetProcessHandle(new SafeProcessHandle(_processId, GetSafeWaitHandle())); 953_waitStateHolder = new ProcessWaitState.Holder(_processId);