src\Dependencies\PooledObjects\ArrayBuilder.cs (28)
41var result = new T[_builder.Count];
87if (Count == 0)
91else if (_builder.Capacity == Count)
146=> Count == 0;
213=> FindIndex(0, this.Count, match);
216=> FindIndex(startIndex, this.Count - startIndex, match);
233=> FindIndex(0, Count, match, arg);
236=> FindIndex(startIndex, Count - startIndex, match, arg);
313if (this.Count <= 1)
338=> Count == 0 ? default : Last();
355if (Count == 0)
369if (Count == 0)
374var tmp = ArrayBuilder<U>.GetInstance(Count);
398if (Count == 0)
402else if (_builder.Capacity == Count)
442if (this.Count != 0)
463Debug.Assert(builder.Count == 0);
519if (this.Count == 1)
527if (this.Count == 0)
534var accumulator = new Dictionary<K, ArrayBuilder<T>>(Count, comparer);
535for (var i = 0; i < Count; i++)
580Debug.Assert(start + length <= items.Count);
646Debug.Assert(limit <= Count);
658EnsureCapacity(Count + count);
671for (var i = 0; i < Count; i++)
686if (Count <= 1)
694for (int i = 1; i < Count; i++)
708var result = ArrayBuilder<S>.GetInstance(Count);
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Context\FormattingContext.InitialContextFinder.cs (1)
158if (buffer.Count > 0)