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