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