6 writes to singleItem
System.Activities (6)
System\Activities\HybridCollection.cs (6)
28
this.
singleItem
= initialItem;
97
set { this.
singleItem
= value; }
112
this.
singleItem
= null;
116
this.
singleItem
= item;
141
this.
singleItem
= this.multipleItems[0];
156
this.
singleItem
= null;
11 references to singleItem
System.Activities (11)
System\Activities\HybridCollection.cs (11)
35
if (this.
singleItem
!= null)
38
return this.
singleItem
;
56
if (this.
singleItem
!= null)
74
return this.
singleItem
;
96
get { return this.
singleItem
; }
107
else if (this.
singleItem
!= null)
110
this.multipleItems.Add(this.
singleItem
);
126
else if (this.
singleItem
!= null)
128
return new ReadOnlyCollection<T>(new T[1] { this.
singleItem
});
153
if (this.
singleItem
!= null)
155
Fx.Assert(object.Equals(item, this.
singleItem
), "The given item should be in this list. Something is wrong in our housekeeping.");