6 writes to state
System.ServiceModel (6)
System\ServiceModel\Channels\SharedConnectionListener.cs (6)
51this.state = CommunicationState.Created; 103this.state = CommunicationState.Closing; 147this.state = CommunicationState.Closed; 226this.state = CommunicationState.Opening; 231this.state = CommunicationState.Faulted; 261this.state = CommunicationState.Opened;
14 references to state
System.ServiceModel (14)
System\ServiceModel\Channels\SharedConnectionListener.cs (14)
93if (this.state == CommunicationState.Closing || 94this.state == CommunicationState.Closed) 98else if (this.state == CommunicationState.Opening && !aborting) 139if (this.state == CommunicationState.Closed) 144Fx.Assert(this.state == CommunicationState.Closing, 165if (this.state == CommunicationState.Closed) 196if (this.state != CommunicationState.Opening && 197this.state != CommunicationState.Opened) 216if (this.state == CommunicationState.Closing || 217this.state == CommunicationState.Closed) 259if (this.state == CommunicationState.Created || this.state == CommunicationState.Opening) 272while (this.state == CommunicationState.Opening) 291if (this.state == CommunicationState.Opening)