1 write to head
System.ServiceModel (1)
System\ServiceModel\Channels\TransmissionStrategy.cs (1)
1071this.head = (this.head + 1) % this.maxSize;
16 references to head
System.ServiceModel (16)
System\ServiceModel\Channels\TransmissionStrategy.cs (16)
944if (this.tail >= this.head) 945return (this.tail - this.head); 947return (this.tail - this.head + this.maxSize); 994return this.buffer[(head + index) % this.maxSize].LastAttemptTime; 1000if (!this.buffer[(head + index) % this.maxSize].Transferred) 1001return this.buffer[(head + index) % this.maxSize].Buffer.CreateMessage(); 1009return this.buffer[(this.head + index) % this.maxSize].RetryCount; 1015return this.buffer[(this.head + index) % this.maxSize].State; 1021return this.buffer[(this.head + index) % this.maxSize].Transferred; 1045if (this.buffer[(head + index) % this.maxSize].Transferred) 1055this.buffer[(head + index) % this.maxSize].LastAttemptTime = retryTime; 1057return ++this.buffer[(head + index) % this.maxSize].RetryCount; 1069this.buffer[head].Buffer.Close(); 1070this.buffer[head].Buffer = null; 1071this.head = (this.head + 1) % this.maxSize; 1078this.buffer[(head + index) % this.maxSize].Transferred = true;