Implemented interface members:
39 references to Count
Microsoft.CodeAnalysis.PooledObjects.Package (39)
ArrayBuilder.cs (38)
43var result = new T[_builder.Count]; 89if (Count == 0) 93else if (_builder.Capacity == Count) 148=> Count == 0; 215=> FindIndex(0, this.Count, match); 218=> FindIndex(startIndex, this.Count - startIndex, match); 235=> FindIndex(0, Count, match, arg); 238=> FindIndex(startIndex, Count - startIndex, match, arg); 348if (this.Count <= 1) 373=> Count == 0 ? default : Last(); 390if (Count == 0) 404if (Count == 0) 409var tmp = ArrayBuilder<U>.GetInstance(Count); 433if (Count == 0) 437else if (_builder.Capacity == Count) 486if (this.Count != 0) 507Debug.Assert(builder.Count == 0); 563if (this.Count == 1) 571if (this.Count == 0) 578var accumulator = new Dictionary<K, ArrayBuilder<T>>(Count, comparer); 579for (var i = 0; i < Count; i++) 624Debug.Assert(start + length <= items.Count); 683Debug.Assert(limit <= Count); 695EnsureCapacity(Count + count); 708for (var i = 0; i < Count; i++) 723if (Count <= 1) 733for (int i = 1; i < Count; i++) 747var result = ArrayBuilder<S>.GetInstance(Count); 819switch (Count) 837var builder = ArrayBuilder<TResult>.GetInstance(Count); 857switch (Count) 875var builder = ArrayBuilder<TResult>.GetInstance(Count); 895switch (Count) 913var builder = ArrayBuilder<TResult>.GetInstance(Count); 916builder.Add(map(item, builder.Count, arg)); 932RemoveAt(Count - 1); 938if (Count > 0) 949=> this[Count - 1];
ArrayBuilder.Enumerator.cs (1)
36return _index < _builder.Count;