1 write to _array
System.Threading.Tasks.Dataflow (1)
Internal\ImmutableArray.cs (1)
42_array = elements;
15 references to _array
System.Threading.Tasks.Dataflow (15)
Internal\ImmutableArray.cs (15)
52var newArray = new T[_array.Length + 1]; 53Array.Copy(_array, newArray, _array.Length); 64int index = Array.IndexOf(_array, item); 68if (_array.Length == 1) return Empty; 71var newArray = new T[_array.Length - 1]; 72Array.Copy(_array, newArray, index); 73Array.Copy(_array, index + 1, newArray, index, _array.Length - index - 1); 78public int Count { get { return _array.Length; } } 83public bool Contains(T item) { return Array.IndexOf(_array, item) >= 0; } 86public IEnumerator<T> GetEnumerator() { return ((IEnumerable<T>)_array).GetEnumerator(); } 90public T[] ToArray() { return _array.Length == 0 ? s_empty._array : (T[])_array.Clone(); }