5 references to FromTimeSpan
dotnet-svcutil-lib (5)
FrameworkFork\System.ServiceModel\Internals\System\Runtime\TimeoutHelper.cs (4)
93long ticks = Ticks.FromTimeSpan(timeout); 116return Ticks.ToTimeSpan(Ticks.Add(Ticks.FromTimeSpan(timeout1), Ticks.FromTimeSpan(timeout2))); 144return Ticks.ToTimeSpan((Ticks.FromTimeSpan(timeout) / factor) + 1);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceChannel.cs (1)
2346_idleTicks = Ticks.FromTimeSpan(idle);