Implemented interface members:
38 references to Count
Microsoft.AspNetCore.Razor.Utilities.Shared (38)
src\Dependencies\PooledObjects\ArrayBuilder.cs (37)
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);
349
if (this.
Count
<= 1)
374
=>
Count
== 0 ? default : Last();
391
if (
Count
== 0)
405
if (
Count
== 0)
410
var result = new U[
Count
];
434
if (
Count
== 0)
438
else if (_builder.Capacity ==
Count
)
487
if (this.
Count
!= 0)
508
Debug.Assert(builder.
Count
== 0);
568
if (this.
Count
== 1)
576
if (this.
Count
== 0)
583
var accumulator = new Dictionary<K, ArrayBuilder<T>>(
Count
, comparer);
584
for (var i = 0; i <
Count
; i++)
629
Debug.Assert(start + length <= items.
Count
);
696
Debug.Assert(limit <=
Count
);
708
EnsureCapacity(
Count
+ count);
721
for (var i = 0; i <
Count
; i++)
736
if (
Count
<= 1)
746
for (int i = 1; i <
Count
; i++)
760
var result = ArrayBuilder<S>.GetInstance(
Count
);
832
switch (
Count
)
850
var result = new TResult[
Count
];
868
switch (
Count
)
886
var result = new TResult[
Count
];
904
switch (
Count
)
922
var result = new TResult[
Count
];
939
RemoveAt(
Count
- 1);
945
if (
Count
> 0)
956
=> this[
Count
- 1];
src\Dependencies\PooledObjects\ArrayBuilder.Enumerator.cs (1)
36
return _index < _builder.
Count
;