3 writes to multipleItems
System.Activities (3)
System\Activities\HybridCollection.cs (3)
90
set { this.
multipleItems
= value; }
109
this.
multipleItems
= new List<T>(2);
142
this.
multipleItems
= null;
21 references to multipleItems
System.Activities (21)
System\Activities\HybridCollection.cs (21)
40
else if (this.
multipleItems
!= null)
42
Fx.Assert(index >= 0 && index < this.
multipleItems
.Count, "Out of range with multiple items.");
44
return this.
multipleItems
[index];
61
if (this.
multipleItems
!= null)
63
return this.
multipleItems
.Count;
82
return this.
multipleItems
;
89
get { return this.
multipleItems
; }
103
if (this.
multipleItems
!= null)
105
this.
multipleItems
.Add(item);
110
this.
multipleItems
.Add(this.singleItem);
111
this.
multipleItems
.Add(item);
122
if (this.
multipleItems
!= null)
124
return new ReadOnlyCollection<T>(this.
multipleItems
);
139
if (this.
multipleItems
!= null && this.
multipleItems
.Count == 1)
141
this.singleItem = this.
multipleItems
[0];
160
Fx.Assert(this.
multipleItems
!= null && this.
multipleItems
.Contains(item), "The given item should be in this list. Something is wrong in our housekeeping.");
161
int position = (searchingFromEnd) ? this.
multipleItems
.LastIndexOf(item) : this.
multipleItems
.IndexOf(item);
164
this.
multipleItems
.RemoveAt(position);