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