4 writes to _state
System.ServiceModel.Primitives (4)
Internals\System\Runtime\SignalGate.cs (4)
44
lastState = Interlocked.CompareExchange(ref
_state
, GateState.SignalPending, GateState.Locked);
48
_state
= GateState.Signalled;
68
lastState = Interlocked.CompareExchange(ref
_state
, GateState.Unlocked, GateState.Locked);
72
_state
= GateState.Signalled;
4 references to _state
System.ServiceModel.Primitives (4)
Internals\System\Runtime\SignalGate.cs (4)
24
return
_state
== GateState.Locked;
32
return
_state
== GateState.Signalled;
41
int lastState =
_state
;
65
int lastState =
_state
;