3 writes to items
System.Activities (3)
System\Activities\Quack.cs (3)
26this.items = new T[4]; 34this.items = items; 198this.items = newArray;
28 references to items
System.Activities (28)
System\Activities\Quack.cs (28)
39this.count = this.items.Length; 53int realIndex = (this.head + index) % this.items.Length; 55return this.items[realIndex]; 67compressedItems[i] = this.items[(this.head + i) % this.items.Length]; 75if (this.count == this.items.Length) 82this.head = this.items.Length - 1; 84this.items[this.head] = item; 91if (this.count == this.items.Length) 96this.items[this.tail] = item; 97if (++this.tail == this.items.Length) 109T removed = this.items[this.head]; 110this.items[this.head] = default(T); 111if (++this.head == this.items.Length) 127int realIndex = (this.head + i) % this.items.Length; 128if (object.Equals(this.items[realIndex], item)) 152int sourceIndex = (this.head + i) % this.items.Length; 155if (targetIndex == this.items.Length) 160this.items[targetIndex] = this.items[sourceIndex]; 166if (this.head == this.items.Length) 174Fx.Assert(this.items.Length > 0, "Quack is empty"); 176int capacity = this.items.Length * 2; 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);