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