Implemented interface members:
25 references to Count
Microsoft.AspNetCore.App.Analyzers (2)
Infrastructure\VirtualChars\AbstractVirtualCharService.cs (2)
176
index += result[result.
Count
- 1].Span.Length;
237
if (textLength == result.
Count
)
Microsoft.Build (4)
Evaluation\LazyItemEvaluator.IncludeOperation.cs (2)
54
if (excludePatterns.
Count
> 0)
147
var anyExcludes = excludePatterns.
Count
> 0;
Evaluation\LazyItemEvaluator.OrderedItemDataCollection.cs (2)
51
public int Count => _listBuilder.
Count
;
108
for (int i = 0; i < _listBuilder.
Count
; i++)
System.Collections.Immutable (19)
System\Collections\Immutable\ImmutableList_1.Builder.cs (19)
328
Requires.Range(index + count <= this.
Count
, nameof(count));
522
_root.IndexOf(item, index, this.
Count
- index, EqualityComparer<T>.Default);
593
if (this.
Count
== 0)
598
return _root.LastIndexOf(item, this.
Count
- 1, this.
Count
, EqualityComparer<T>.Default);
619
if (this.
Count
== 0 && startIndex == 0)
716
Requires.Range(index >= 0 && index <= this.
Count
, nameof(index));
737
int count = this.
Count
;
739
return count - this.
Count
;
753
int index = this.IndexOf(item, 0, this.
Count
, equalityComparer);
770
Requires.Range(index >= 0 && index <= this.
Count
, nameof(index));
771
Requires.Range(count >= 0 && index <= this.
Count
- count, nameof(count));
834
int index = this.IndexOf(oldValue, 0, this.
Count
, equalityComparer);
848
this.Reverse(0, this.
Count
);
860
Requires.Range(index + count <= this.
Count
, nameof(count));
919
Requires.Range(index + count <= this.
Count
, nameof(count));
966
return this.BinarySearch(0, this.
Count
, item, comparer);
1033
return this.
Count
- 1;
1207
public T[] Contents => _cachedContents ??= _list.ToArray(_list.
Count
);