60 references to State
System.Diagnostics.Process (60)
System\Diagnostics\Process.cs (47)
125EnsureState(State.Associated); 151EnsureState(State.HaveProcessInfo); 167EnsureState(State.Exited); 184EnsureState(State.Associated); 222EnsureState(State.Exited); 240EnsureState(State.HaveId); 255EnsureState(State.Associated); 314EnsureState(State.HaveNonExitedId | State.IsLocal); 325EnsureState(State.HaveProcessInfo); 335EnsureState(State.HaveProcessInfo); 345EnsureState(State.HaveProcessInfo); 355EnsureState(State.HaveProcessInfo); 365EnsureState(State.HaveProcessInfo); 375EnsureState(State.HaveProcessInfo); 385EnsureState(State.HaveProcessInfo); 395EnsureState(State.HaveProcessInfo); 404EnsureState(State.HaveProcessInfo); 414EnsureState(State.HaveProcessInfo); 423EnsureState(State.HaveProcessInfo); 433EnsureState(State.HaveProcessInfo); 498EnsureState(State.HaveProcessInfo); 508EnsureState(State.HaveProcessInfo); 544EnsureState(State.HaveProcessInfo); 594EnsureState(State.HaveProcessInfo); 613EnsureState(State.HaveProcessInfo); 625EnsureState(State.HaveProcessInfo); 635EnsureState(State.HaveProcessInfo); 748EnsureState(State.HaveProcessInfo); 758EnsureState(State.HaveProcessInfo); 945private void EnsureState(State state) 947if ((state & State.Associated) != (State)0) 951if ((state & State.HaveId) != (State)0) 961EnsureState(State.Associated); 965if ((state & State.HaveNonExitedId) == State.HaveNonExitedId) 971if ((state & State.IsLocal) != (State)0 && _isRemoteMachine) 976if ((state & State.HaveProcessInfo) != (State)0) 980if ((state & State.HaveNonExitedId) != State.HaveNonExitedId) 982EnsureState(State.HaveNonExitedId); 992if ((state & State.Exited) != (State)0)
System\Diagnostics\Process.Linux.cs (4)
188EnsureState(State.HaveNonExitedId); 200EnsureState(State.HaveNonExitedId); 218EnsureState(State.HaveNonExitedId); 368EnsureState(State.HaveNonExitedId);
System\Diagnostics\Process.NonUap.cs (2)
23EnsureState(State.Associated | State.IsLocal);
System\Diagnostics\Process.Unix.cs (7)
66EnsureState(State.HaveId); 264EnsureState(State.HaveNonExitedId); 283EnsureState(State.HaveNonExitedId); 358EnsureState(State.HaveNonExitedId | State.IsLocal); 958EnsureState(State.HaveId); 1127EnsureState(State.HaveProcessInfo);