5 writes to count
System.Activities (5)
System\Activities\Quack.cs (5)
39
this.
count
= this.items.Length;
86
++this.
count
;
102
++this.
count
;
116
--this.
count
;
163
--this.
count
;
15 references to count
System.Activities (15)
System\Activities\Quack.cs (15)
44
get { return this.
count
; }
51
Fx.Assert(index < this.
count
, "Index out of range.");
61
Fx.Assert(this.
count
> 0, "We should only call this when we have items.");
63
T[] compressedItems = new T[this.
count
];
65
for (int i = 0; i < this.
count
; i++)
75
if (this.
count
== this.items.Length)
91
if (this.
count
== this.items.Length)
107
Fx.Assert(this.
count
> 0, "Quack is empty");
125
for (int i = 0; i < this.
count
; i++)
148
Fx.Assert(index < this.
count
, "Index out of range");
182
Fx.Assert(capacity >= this.
count
, "Capacity is set to a smaller value");
185
if (this.
count
> 0)
189
Array.Copy(this.items, this.head, newArray, 0, this.
count
);
200
this.tail = (this.
count
== capacity) ? 0 : this.
count
;