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