Implemented interface members:
30 references to Count
Aspire.Dashboard (1)
Components\Pages\ConsoleLogs.razor.cs (1)
695if (builder.Count == 1)
Microsoft.AspNetCore.App.Analyzers (2)
Infrastructure\VirtualChars\AbstractVirtualCharService.cs (2)
176index += result[result.Count - 1].Span.Length; 237if (textLength == result.Count)
Microsoft.Build (8)
Evaluation\LazyItemEvaluator.IncludeOperation.cs (6)
73if (excludePatterns.Count > 0) 75matchers ??= new FileSpecMatcherTester?[excludePatterns.Count]; 93matchers ??= new FileSpecMatcherTester?[excludePatterns.Count]; 95if (excludePatterns.Count == 0 || !ExcludeTester(_rootDirectory, excludePatterns, matchers, EscapingUtilities.UnescapeAll(value))) 155if (excludePatterns.Count == 0) 183var anyExcludes = excludePatterns.Count > 0;
Evaluation\LazyItemEvaluator.OrderedItemDataCollection.cs (2)
50public int Count => _listBuilder.Count; 107for (int i = 0; i < _listBuilder.Count; i++)
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);