6 writes to singleItemIndex
System.Activities (6)
System\Activities\ActivityBuilder.cs (6)
219
this.
singleItemIndex
= Count - 1;
228
this.
singleItemIndex
= -1;
237
this.
singleItemIndex
++;
242
this.
singleItemIndex
= 0;
252
this.
singleItemIndex
--;
256
this.
singleItemIndex
= -1;
12 references to singleItemIndex
System.Activities (12)
System\Activities\ActivityBuilder.cs (12)
199
return this.
singleItemIndex
>= 0 ? this[this.
singleItemIndex
] : null;
203
if (this.
singleItemIndex
>= 0)
207
SetItem(this.
singleItemIndex
, value);
211
RemoveItem(this.
singleItemIndex
);
235
if (index <= this.
singleItemIndex
)
241
Fx.Assert(this.
singleItemIndex
< 0, "How did we have an index if we were empty?");
250
if (index < this.
singleItemIndex
)
254
else if (index == this.
singleItemIndex
)
264
if (index == this.
singleItemIndex
)
275
if (this.
singleItemIndex
>= 0)
277
AttachablePropertyServices.SetProperty(target, propertyReferencePropertyID, this[this.
singleItemIndex
]);