19 references to State
System.IO.Pipelines (19)
System\IO\Pipelines\PipeOperationState.cs (19)
12private State _state; 17if ((_state & State.Reading) == State.Reading) 22_state |= State.Reading; 28if ((_state & State.Reading) == State.Reading) 33_state |= State.ReadingTentative; 39if ((_state & State.Reading) != State.Reading && 40(_state & State.ReadingTentative) != State.ReadingTentative) 45_state &= ~(State.Reading | State.ReadingTentative); 51_state |= State.Writing; 57_state &= ~State.Writing; 60public bool IsWritingActive => (_state & State.Writing) == State.Writing; 62public bool IsReadingActive => (_state & State.Reading) == State.Reading;