4 writes to items
System.ServiceModel (4)
System\ServiceModel\SynchronizedCollection.cs (4)
19
this.
items
= new List<T>();
28
this.
items
= new List<T>();
39
this.
items
= new List<T>(list);
50
this.
items
= new List<T>(list.Length);
22 references to items
System.ServiceModel (22)
System\ServiceModel\SynchronizedCollection.cs (22)
52
this.
items
.Add(list[i]);
59
get { lock (this.sync) { return this.
items
.Count; } }
64
get { return this.
items
; }
78
return this.
items
[index];
85
if (index < 0 || index >= this.
items
.Count)
87
SR.GetString(SR.ValueMustBeInRange, 0, this.
items
.Count - 1)));
98
int index = this.
items
.Count;
115
this.
items
.CopyTo(array, index);
123
return this.
items
.Contains(item);
131
return this.
items
.GetEnumerator();
147
if (index < 0 || index > this.
items
.Count)
149
SR.GetString(SR.ValueMustBeInRange, 0, this.
items
.Count)));
157
int count =
items
.Count;
161
if (object.Equals(
items
[i], item))
186
if (index < 0 || index >= this.
items
.Count)
188
SR.GetString(SR.ValueMustBeInRange, 0, this.
items
.Count - 1)));
197
this.
items
.Clear();
202
this.
items
.Insert(index, item);
207
this.
items
.RemoveAt(index);
212
this.
items
[index] = item;
222
return ((IList)this.
items
).GetEnumerator();
239
((IList)this.
items
).CopyTo(array, index);