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