3 writes to _state
System.Diagnostics.Process (3)
System\Diagnostics\ProcessWaitState.Unix.cs (3)
59_state = ProcessWaitState.AddRef(processId, isNewChild, usesTerminal); 62private Holder(ProcessWaitState source) => _state = source; 82_state = null!;
10 references to _state
System.Diagnostics.Process (10)
Microsoft\Win32\SafeHandles\SafeProcessHandle.Unix.cs (4)
36_handle = _waitStateHolder._state.EnsureExitedEvent().GetSafeWaitHandle(); 55return _waitStateHolder._state._processId; 152if (!_waitStateHolder._state._isChild) 157return _waitStateHolder._state;
System\Diagnostics\Process.Unix.cs (1)
424return _waitStateHolder._state;
System\Diagnostics\ProcessWaitState.Unix.cs (5)
67_state.IncrementRefCount(); 68return new(_state); 73_state?.ReleaseRef(); 78if (_state != null) 81_state.ReleaseRef();