Implemented interface members:
29 references to Count
Microsoft.CodeAnalysis.Threading.Package (29)
src\Dependencies\PooledObjects\ArrayBuilder.cs (28)
44var result = new T[_builder.Count]; 90if (Count == 0) 94else if (_builder.Capacity == Count) 149=> Count == 0; 216=> FindIndex(0, this.Count, match); 219=> FindIndex(startIndex, this.Count - startIndex, match); 236=> FindIndex(0, Count, match, arg); 239=> FindIndex(startIndex, Count - startIndex, match, arg); 316if (this.Count <= 1) 341=> Count == 0 ? default : Last(); 358if (Count == 0) 372if (Count == 0) 377var tmp = ArrayBuilder<U>.GetInstance(Count); 401if (Count == 0) 405else if (_builder.Capacity == Count) 445if (this.Count != 0) 466Debug.Assert(builder.Count == 0); 522if (this.Count == 1) 530if (this.Count == 0) 537var accumulator = new Dictionary<K, ArrayBuilder<T>>(Count, comparer); 538for (var i = 0; i < Count; i++) 583Debug.Assert(start + length <= items.Count); 649Debug.Assert(limit <= Count); 661EnsureCapacity(Count + count); 674for (var i = 0; i < Count; i++) 689if (Count <= 1) 697for (int i = 1; i < Count; i++) 711var result = ArrayBuilder<S>.GetInstance(Count);
src\Dependencies\PooledObjects\ArrayBuilder.Enumerator.cs (1)
34return _index < _builder.Count;