7 writes to _state
dotnet-svcutil-lib (7)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\CommunicationObject.cs (7)
38_state = CommunicationState.Created; 94_state = CommunicationState.Closing; 164_state = CommunicationState.Closing; 305_state = CommunicationState.Faulted; 336_state = CommunicationState.Opening; 375_state = CommunicationState.Closed; 459_state = CommunicationState.Opened;
20 references to _state
dotnet-svcutil-lib (20)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\CommunicationObject.cs (20)
54get { return _state == CommunicationState.Closed; } 59get { return _state; } 90if (_aborted || _state == CommunicationState.Closed) 162originalState = _state; 221return new InvalidOperationException(string.Format(SRServiceModel.CommunicationObjectCannotBeUsed, this.GetCommunicationObjectType().ToString(), _state.ToString())); 226return new InvalidOperationException(string.Format(SRServiceModel.CommunicationObjectCannotBeModifiedInState, this.GetCommunicationObjectType().ToString(), _state.ToString())); 261switch (_state) 300if (_state == CommunicationState.Closed || _state == CommunicationState.Closing) 303if (_state == CommunicationState.Faulted) 457if (_aborted || _state != CommunicationState.Opening) 506switch (_state) 555switch (_state) 589switch (_state) 618switch (_state) 647switch (_state) 676switch (_state) 703if (_state == CommunicationState.Created || _state == CommunicationState.Opening) 711switch (_state)