7 writes to head
System.Activities (7)
System\Activities\Quack.cs (7)
80if (--this.head == -1) 82this.head = this.items.Length - 1; 111if (++this.head == this.items.Length) 113this.head = 0; 164++this.head; 168this.head = 0; 199this.head = 0;
13 references to head
System.Activities (13)
System\Activities\Quack.cs (13)
53int realIndex = (this.head + index) % this.items.Length; 67compressedItems[i] = this.items[(this.head + i) % this.items.Length]; 84this.items[this.head] = item; 109T removed = this.items[this.head]; 110this.items[this.head] = default(T); 127int realIndex = (this.head + i) % this.items.Length; 152int sourceIndex = (this.head + i) % this.items.Length; 166if (this.head == this.items.Length) 187if (this.head < this.tail) 189Array.Copy(this.items, this.head, newArray, 0, this.count); 193Array.Copy(this.items, this.head, newArray, 0, this.items.Length - this.head); 194Array.Copy(this.items, 0, newArray, this.items.Length - this.head, this.tail);