21 references to ToMilliseconds
dotnet-svcutil-lib (21)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\Connection.cs (4)
214this.ReadTimeout = TimeoutHelper.ToMilliseconds(defaultTimeouts.ReceiveTimeout); 215this.WriteTimeout = TimeoutHelper.ToMilliseconds(defaultTimeouts.SendTimeout); 636int timeoutInMilliseconds = TimeoutHelper.ToMilliseconds(timeout); 646int timeoutInMilliseconds = TimeoutHelper.ToMilliseconds(timeout);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\CoreClrSocketConnection.cs (2)
814_socket.ReceiveTimeout = TimeoutHelper.ToMilliseconds(timeout); 851_socket.SendTimeout = TimeoutHelper.ToMilliseconds(timeout);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SynchronizedMessageSource.cs (4)
31if (!await _sourceLock.WaitAsync(TimeoutHelper.ToMilliseconds(timeout))) 55if (!_sourceLock.Wait(TimeoutHelper.ToMilliseconds(timeout))) 80if (!await _sourceLock.WaitAsync(TimeoutHelper.ToMilliseconds(timeout))) 105if (!_sourceLock.Wait(TimeoutHelper.ToMilliseconds(timeout)))
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TimeoutStream.cs (1)
29ReadTimeout = TimeoutHelper.ToMilliseconds(timeout);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportDuplexSessionChannel.cs (4)
284if (!await _sendLock.WaitAsync(TimeoutHelper.ToMilliseconds(timeout))) 339if (!_sendLock.Wait(TimeoutHelper.ToMilliseconds(timeout))) 512if (!await _sendLock.WaitAsync(TimeoutHelper.ToMilliseconds(timeout))) 617if (!_sendLock.Wait(TimeoutHelper.ToMilliseconds(timeout)))
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\UdpRetransmissionSettings.cs (6)
72_delayLowerBoundMilliseconds = TimeoutHelper.ToMilliseconds(_delayLowerBound); 73_delayUpperBoundMilliseconds = TimeoutHelper.ToMilliseconds(_delayUpperBound); 74_maxDelayMilliseconds = TimeoutHelper.ToMilliseconds(_maxDelayPerRetransmission); 134_delayLowerBoundMilliseconds = TimeoutHelper.ToMilliseconds(_delayLowerBound); 152_delayUpperBoundMilliseconds = TimeoutHelper.ToMilliseconds(_delayUpperBound); 170_maxDelayMilliseconds = TimeoutHelper.ToMilliseconds(_maxDelayPerRetransmission);