18 references to LifetimeState
dotnet-svcutil-lib (18)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\CommunicationObjectManager.cs (1)
26if (this.State == LifetimeState.Opened && !_inputClosed)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\LifetimeManager.cs (14)
24private LifetimeState _state; 29_state = LifetimeState.Opened; 37protected LifetimeState State 51if (this.State == LifetimeState.Closed || _aborted) 54_state = LifetimeState.Closing; 58_state = LifetimeState.Closed; 63if (!_aborted && _state != LifetimeState.Opened) 74_state = LifetimeState.Closing; 85_state = LifetimeState.Closing; 89_state = LifetimeState.Closed; 161if (empty && this.State == LifetimeState.Opened) 168_state = LifetimeState.Closed; 175Fx.Assert(this.State == LifetimeState.Opened, "LifetimeManager.IncrementBusyCount: (this.State == LifetimeState.Opened)"); 182Fx.Assert(this.State == LifetimeState.Opened, "LifetimeManager.IncrementBusyCountWithoutLock: (this.State == LifetimeState.Opened)");
FrameworkFork\System.ServiceModel\System\ServiceModel\ServiceChannelManager.cs (3)
91if (this.State == LifetimeState.Opened) 233if (empty && this.State == LifetimeState.Opened) 273if (this.State == LifetimeState.Closed)