4 writes to state
System.ServiceModel (4)
System\ServiceModel\Channels\PeerConnector.cs (4)
55this.state = State.Created; 195this.state = State.Closed; 211this.state = State.Closing; 313this.state = State.Opened;
11 references to state
System.ServiceModel (11)
System\ServiceModel\Channels\PeerConnector.cs (11)
123if (state == State.Opened && neighbor.State == PeerNeighborState.Connecting) 263if (!(this.state != State.Created)) 309if (!(this.state == State.Created)) 322if (this.state != State.Opened) 404if (this.state != State.Opened) 433if (this.state != State.Opened) 465if (this.state != State.Opened) 539if (this.state == State.Opened && 560if (neighbor.State == PeerNeighborState.Connecting && this.state == State.Opened) 580if (this.state != State.Opened || closeReason == PeerCloseReason.InvalidNeighbor) 614if (state == State.Opened)