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)
54
get { return
_state
== CommunicationState.Closed; }
59
get { return
_state
; }
90
if (_aborted ||
_state
== CommunicationState.Closed)
162
originalState =
_state
;
221
return new InvalidOperationException(string.Format(SRServiceModel.CommunicationObjectCannotBeUsed, this.GetCommunicationObjectType().ToString(),
_state
.ToString()));
226
return new InvalidOperationException(string.Format(SRServiceModel.CommunicationObjectCannotBeModifiedInState, this.GetCommunicationObjectType().ToString(),
_state
.ToString()));
261
switch (
_state
)
300
if (
_state
== CommunicationState.Closed ||
_state
== CommunicationState.Closing)
303
if (
_state
== CommunicationState.Faulted)
457
if (_aborted ||
_state
!= CommunicationState.Opening)
506
switch (
_state
)
555
switch (
_state
)
589
switch (
_state
)
618
switch (
_state
)
647
switch (
_state
)
676
switch (
_state
)
703
if (
_state
== CommunicationState.Created ||
_state
== CommunicationState.Opening)
711
switch (
_state
)