4 writes to Items
System.ServiceModel.Primitives (4)
System\ServiceModel\SynchronizedCollection.cs (4)
18
Items
= new List<T>();
24
Items
= new List<T>();
35
Items
= new List<T>(list);
46
Items
= new List<T>(list.Length);
39 references to Items
System.ServiceModel.Primitives (39)
System\ServiceModel\Dispatcher\ChannelDispatcher.cs (2)
641
foreach (EndpointDispatcher item in
Items
)
661
EndpointDispatcher item =
Items
[index];
System\ServiceModel\Dispatcher\SynchronizedChannelCollection.cs (3)
50
List<TChannel> items =
Items
;
68
TChannel oldItem =
Items
[index];
76
TChannel oldItem =
Items
[index];
System\ServiceModel\ExtensionCollection.cs (3)
61
List<IExtension<T>> items =
Items
;
81
List<IExtension<T>> items =
Items
;
116
Items
[index].Detach(_owner);
System\ServiceModel\SynchronizedCollection.cs (21)
49
Items
.Add(list[i]);
57
get { lock (_sync) { return
Items
.Count; } }
73
return
Items
[index];
80
if (index < 0 || index >=
Items
.Count)
83
SRP.Format(SRP.ValueMustBeInRange, 0,
Items
.Count - 1)));
95
int index =
Items
.Count;
112
Items
.CopyTo(array, index);
120
return
Items
.Contains(item);
128
return
Items
.GetEnumerator();
144
if (index < 0 || index >
Items
.Count)
147
SRP.Format(SRP.ValueMustBeInRange, 0,
Items
.Count)));
156
int count =
Items
.Count;
160
if (object.Equals(
Items
[i], item))
187
if (index < 0 || index >=
Items
.Count)
190
SRP.Format(SRP.ValueMustBeInRange, 0,
Items
.Count - 1)));
199
Items
.Clear();
204
Items
.Insert(index, item);
209
Items
.RemoveAt(index);
214
Items
[index] = item;
224
return ((IList)
Items
).GetEnumerator();
241
((IList)
Items
).CopyTo(array, index);
System\ServiceModel\SynchronizedKeyedCollection.cs (10)
78
for (int i = 0; i <
Items
.Count; i++)
80
T item =
Items
[i];
170
for (int i = 0; i <
Items
.Count; i++)
172
T item =
Items
[i];
188
return
Items
.Contains(item);
205
foreach (T item in
Items
)
251
for (int i = 0; i <
Items
.Count; i++)
253
if (_comparer.Equals(key, GetKeyForItem(
Items
[i])))
266
K key = GetKeyForItem(
Items
[index]);
296
K oldKey = GetKeyForItem(
Items
[index]);