12 references to Ticks
dotnet-svcutil-lib (12)
FrameworkFork\System.ServiceModel\Internals\System\Runtime\TimeoutHelper.cs (8)
93
long ticks =
Ticks
.FromTimeSpan(timeout);
98
return
Ticks
.ToMilliseconds(ticks);
116
return
Ticks
.ToTimeSpan(
Ticks
.Add(
Ticks
.FromTimeSpan(timeout1),
Ticks
.FromTimeSpan(timeout2)));
144
return
Ticks
.ToTimeSpan((
Ticks
.FromTimeSpan(timeout) / factor) + 1);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\ServiceChannel.cs (4)
2346
_idleTicks =
Ticks
.FromTimeSpan(idle);
2384
Interlocked.Exchange(ref _lastActivity,
Ticks
.Now);
2419
long ticksNow =
Ticks
.Now;
2447
_timer.Change(
Ticks
.ToTimeSpan(abortTime - ticksNow), TimeSpan.FromMilliseconds(-1));