14 references to GateState
System.ServiceModel.Internals (14)
System\Runtime\SignalGate.cs (14)
24
return this.state ==
GateState
.Locked;
32
return this.state ==
GateState
.Signalled;
42
if (lastState ==
GateState
.Locked)
44
lastState = Interlocked.CompareExchange(ref this.state,
GateState
.SignalPending,
GateState
.Locked);
46
if (lastState ==
GateState
.Unlocked)
48
this.state =
GateState
.Signalled;
52
if (lastState !=
GateState
.Locked)
66
if (lastState ==
GateState
.Locked)
68
lastState = Interlocked.CompareExchange(ref this.state,
GateState
.Unlocked,
GateState
.Locked);
70
if (lastState ==
GateState
.SignalPending)
72
this.state =
GateState
.Signalled;
76
if (lastState !=
GateState
.Locked)