10 writes to state
System.ServiceModel (10)
System\ServiceModel\Channels\CommunicationObject.cs (10)
44this.state = CommunicationState.Created; 51this.state = CommunicationState.Created; 111this.state = CommunicationState.Closing; 167this.state = CommunicationState.Closing; 235this.state = CommunicationState.Opening; 286this.state = CommunicationState.Closing; 482this.state = CommunicationState.Faulted; 579this.state = CommunicationState.Opening; 623this.state = CommunicationState.Closed; 719this.state = CommunicationState.Opened;
23 references to state
System.ServiceModel (23)
System\ServiceModel\Channels\CommunicationObject.cs (23)
67get { return this.state == CommunicationState.Closed; } 72get { return this.state; } 103if (this.aborted || this.state == CommunicationState.Closed) 161originalState = this.state; 280originalState = this.state; 349return new InvalidOperationException(SR.GetString(SR.CommunicationObjectCannotBeUsed, this.GetCommunicationObjectType().ToString(), this.state.ToString())); 354return new InvalidOperationException(SR.GetString(SR.CommunicationObjectCannotBeModifiedInState, this.GetCommunicationObjectType().ToString(), this.state.ToString())); 431switch (this.state) 473if (this.state == CommunicationState.Closed || this.state == CommunicationState.Closing) 476if (this.state == CommunicationState.Faulted) 519CommunicationState currentState = this.state; 545switch (this.state) 717if (this.aborted || this.state != CommunicationState.Opening) 772switch (this.state) 821switch (this.state) 855switch (this.state) 884switch (this.state) 913switch (this.state) 942switch (this.state) 969if (this.state == CommunicationState.Created || this.state == CommunicationState.Opening) 977switch (this.state)