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