Implemented interface members:
property
Count
System.Collections.Generic.ICollection<T>.Count
property
Count
System.Collections.Generic.IReadOnlyCollection<T>.Count
property
Count
System.Collections.ICollection.Count
46 references to Count
Aspire.Dashboard (2)
Components\Controls\Chart\MetricTable.razor.cs (2)
201for (var i = newMetrics.Count - 1; i >= 0; i--) 204var endTime = (i != newMetrics.Count - 1) ? current.DateTime : (DateTimeOffset?)null;
CodeStyleConfigFileGenerator (1)
Program.cs (1)
122Debug.Assert(sortedRulesById.Count > 0);
Microsoft.ML.Sweeper (9)
Algorithms\NelderMead.cs (9)
127int numSweeps = Math.Min(maxSweeps, _dim + 1 - _simplexVertices.Count); 137if (_simplexVertices.Count == _dim + 1) 143if (_simplexVertices.Count == _dim + 1) 147if (_simplexVertices.Count < _dim + 1) 149numSweeps = Math.Min(maxSweeps, _dim + 1 - _simplexVertices.Count); 301Contracts.Assert(_simplexVertices.Count == _dim + 1); 313_best = _simplexVertices.ElementAt(_simplexVertices.Count - 1); 385for (int i = 1; i < _simplexVertices.Count; i++) 403for (int i = 0; i < _simplexVertices.Count - 1; i++)
PresentationCore (4)
System\Windows\Media\Animation\AnimationStorage.cs (4)
54|| _propertyTriggerLayers.Count > 0); 157if (_propertyTriggerLayers.Count == 0) 752int count = propertyTriggerLayers.Count; 944int count = storage._propertyTriggerLayers.Count;
PresentationFramework (4)
System\Windows\Documents\TextContainerChangedEventArgs.cs (4)
311if (isDeletion && curIndex < Changes.Count) 313while (curIndex < Changes.Count && Changes.Values[curIndex].Offset <= offset + length) 332SortedList<int, TextChange> newChanges = new SortedList<int, TextChange>(Changes.Count); 333for (curIndex = 0; curIndex < Changes.Count; curIndex++)
System.Collections (24)
System\Collections\Generic\SortedList.cs (24)
440if (array.Length - arrayIndex < Count) 445for (int i = 0; i < Count; i++) 471if (array.Length - index < Count) 478for (int i = 0; i < Count; i++) 493for (int i = 0; i < Count; i++) 548Count == 0 ? EnumerableHelpers.GetEmptyEnumerator<KeyValuePair<TKey, TValue>>() : 783if (_index == 0 || (_index == _sortedList.Count + 1)) 796if ((uint)_index < (uint)_sortedList.Count) 804_index = _sortedList.Count + 1; 814if (_index == 0 || (_index == _sortedList.Count + 1)) 829if (_index == 0 || (_index == _sortedList.Count + 1)) 849if (_index == 0 || (_index == _sortedList.Count + 1)) 897if ((uint)_index < (uint)_sortedList.Count) 904_index = _sortedList.Count + 1; 915if (_index == 0 || (_index == _sortedList.Count + 1)) 961if ((uint)_index < (uint)_sortedList.Count) 968_index = _sortedList.Count + 1; 979if (_index == 0 || (_index == _sortedList.Count + 1)) 1049Array.Copy(_dict.keys, 0, array, arrayIndex, _dict.Count); 1060Array.Copy(_dict.keys, 0, array!, arrayIndex, _dict.Count); 1096_dict.Count, key, _dict.comparer); 1163Array.Copy(_dict.values, 0, array, arrayIndex, _dict.Count); 1174Array.Copy(_dict.values, 0, array!, index, _dict.Count); 1207return Array.IndexOf(_dict.values, value, 0, _dict.Count);
System.IO.Packaging (2)
System\IO\Packaging\Package.cs (2)
998if (index < _partList.Count - 1) 1061if (_partList.Count > 0)