14 references to GateState
dotnet-svcutil-lib (14)
FrameworkFork\System.ServiceModel\Internals\System\Runtime\SignalGate.cs (14)
23
return _state ==
GateState
.Locked;
31
return _state ==
GateState
.Signalled;
41
if (lastState ==
GateState
.Locked)
43
lastState = Interlocked.CompareExchange(ref _state,
GateState
.SignalPending,
GateState
.Locked);
45
if (lastState ==
GateState
.Unlocked)
47
_state =
GateState
.Signalled;
51
if (lastState !=
GateState
.Locked)
65
if (lastState ==
GateState
.Locked)
67
lastState = Interlocked.CompareExchange(ref _state,
GateState
.Unlocked,
GateState
.Locked);
69
if (lastState ==
GateState
.SignalPending)
71
_state =
GateState
.Signalled;
75
if (lastState !=
GateState
.Locked)