4 writes to _items
dotnet-svcutil-lib (4)
FrameworkFork\System.ServiceModel\System\ServiceModel\SynchronizedCollection.cs (4)
18
_items
= new List<T>();
27
_items
= new List<T>();
38
_items
= new List<T>(list);
49
_items
= new List<T>(list.Length);
22 references to _items
dotnet-svcutil-lib (22)
FrameworkFork\System.ServiceModel\System\ServiceModel\SynchronizedCollection.cs (22)
51
_items
.Add(list[i]);
58
get { lock (_sync) { return
_items
.Count; } }
63
get { return
_items
; }
77
return
_items
[index];
84
if (index < 0 || index >=
_items
.Count)
86
string.Format(SRServiceModel.ValueMustBeInRange, 0,
_items
.Count - 1)));
97
int index =
_items
.Count;
114
_items
.CopyTo(array, index);
122
return
_items
.Contains(item);
130
return
_items
.GetEnumerator();
146
if (index < 0 || index >
_items
.Count)
148
string.Format(SRServiceModel.ValueMustBeInRange, 0,
_items
.Count)));
156
int count =
_items
.Count;
160
if (object.Equals(
_items
[i], item))
185
if (index < 0 || index >=
_items
.Count)
187
string.Format(SRServiceModel.ValueMustBeInRange, 0,
_items
.Count - 1)));
196
_items
.Clear();
201
_items
.Insert(index, item);
206
_items
.RemoveAt(index);
211
_items
[index] = item;
221
return ((IList)
_items
).GetEnumerator();
238
((IList)
_items
).CopyTo(array, index);