1 write to preCalculatedDelays
System.ServiceModel.Discovery (1)
System\ServiceModel\Discovery\RandomDelayQueuedSendsAsyncResult.cs (1)
48
this.
preCalculatedDelays
= new int[this.itemQueue.PendingCount];
10 references to preCalculatedDelays
System.ServiceModel.Discovery (10)
System\ServiceModel\Discovery\RandomDelayQueuedSendsAsyncResult.cs (10)
136
for (int i = 0; i < this.
preCalculatedDelays
.Length; i++)
138
this.
preCalculatedDelays
[i] = (int)(this.random.NextDouble() * this.maxRandomDelayInMillis);
141
Array.Sort<int>(this.
preCalculatedDelays
);
148
if ((this.
preCalculatedDelays
== null) || (this.
preCalculatedDelays
.Length == 0))
154
if (this.
preCalculatedDelays
.Length == 1 || this.currentDelayIndex == 0)
156
delay = this.
preCalculatedDelays
[0];
161
if (currentDelayIndex == this.
preCalculatedDelays
.Length)
166
delay = this.
preCalculatedDelays
[this.currentDelayIndex] -
167
this.
preCalculatedDelays
[this.currentDelayIndex - 1];