Implemented interface members:
22 references to Count
Aspire.Dashboard (1)
Components\Pages\ConsoleLogs.razor.cs (1)
479
if (builder.
Count
!= 1)
Microsoft.AspNetCore.App.Analyzers (2)
Infrastructure\VirtualChars\AbstractVirtualCharService.cs (2)
176
index += result[result.
Count
- 1].Span.Length;
237
if (textLength == result.
Count
)
System.Collections.Immutable (19)
System\Collections\Immutable\ImmutableList_1.Builder.cs (19)
324
Requires.Range(index + count <= this.
Count
, nameof(count));
518
_root.IndexOf(item, index, this.
Count
- index, EqualityComparer<T>.Default);
589
if (this.
Count
== 0)
594
return _root.LastIndexOf(item, this.
Count
- 1, this.
Count
, EqualityComparer<T>.Default);
615
if (this.
Count
== 0 && startIndex == 0)
712
Requires.Range(index >= 0 && index <= this.
Count
, nameof(index));
733
int count = this.
Count
;
735
return count - this.
Count
;
749
int index = this.IndexOf(item, 0, this.
Count
, equalityComparer);
766
Requires.Range(index >= 0 && index <= this.
Count
, nameof(index));
767
Requires.Range(count >= 0 && index <= this.
Count
- count, nameof(count));
830
int index = this.IndexOf(oldValue, 0, this.
Count
, equalityComparer);
844
this.Reverse(0, this.
Count
);
856
Requires.Range(index + count <= this.
Count
, nameof(count));
915
Requires.Range(index + count <= this.
Count
, nameof(count));
962
return this.BinarySearch(0, this.
Count
, item, comparer);
1029
return this.
Count
- 1;
1188
public T[] Contents => field ??= _list.ToArray(_list.
Count
);