19 references to State
System.IO.Pipelines (19)
System\IO\Pipelines\PipeOperationState.cs (19)
12
private
State
_state;
17
if ((_state &
State
.Reading) ==
State
.Reading)
22
_state |=
State
.Reading;
28
if ((_state &
State
.Reading) ==
State
.Reading)
33
_state |=
State
.ReadingTentative;
39
if ((_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;
60
public bool IsWritingActive => (_state &
State
.Writing) ==
State
.Writing;
62
public bool IsReadingActive => (_state &
State
.Reading) ==
State
.Reading;