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
45 references to Count
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\ActionSelectionTable.cs (1)
132var routeValues = new string[routeKeys.Count];
Microsoft.DotNet.XliffTasks (2)
Tasks\EnsureAllResourcesTranslated.cs (2)
47if (untranslatedResourceSet.Count > 0) 50Log.LogErrorInFile(sourceDocumentPath, $"Found {untranslatedResourceSet.Count} untranslated resource(s): {untranslatedResourceNames}");
System.Collections (40)
System\Collections\Generic\SortedDictionary.cs (1)
147return _set.Count;
System\Collections\Generic\SortedSet.cs (37)
94if (sortedSet.Count > 0) 194var stack = new Stack<Node>(2 * (int)Log2(Count + 1)); 290internal virtual int TotalCount() { return Count; } 509public void CopyTo(T[] array) => CopyTo(array, 0, Count); 511public void CopyTo(T[] array, int index) => CopyTo(array, index, Count); 556if (array.Length - index < Count) 807return set1.Count == set2.Count && set1.SetEquals(set2); 856if (asSorted != null && treeSubset == null && Count == 0) 866if (asSorted != null && treeSubset == null && HasEqualComparer(asSorted) && (asSorted.Count > this.Count / 2)) 869T[] merged = new T[asSorted.Count + this.Count]; 990if (Count == 0) 1008T[] merged = new T[this.Count]; 1052List<T> toSave = new List<T>(Count); 1110if (Count == 0) 1177if (Count == 0) 1185if (Count > asSorted.Count) 1193return result.UniqueCount == Count && result.UnfoundCount >= 0; 1214if (Count == 0) 1222if (Count >= asSorted.Count) 1229return result.UniqueCount == Count && result.UnfoundCount > 0; 1244if (Count < asSorted.Count) 1263if (Count == 0) 1273if (asSorted.Count >= Count) 1288return result.UniqueCount < Count && result.UnfoundCount == 0; 1316return result.UniqueCount == Count && result.UnfoundCount == 0; 1323if (Count == 0) 1374if (Count == 0) 1388int originalLastIndex = Count; 1432List<T> matches = new List<T>(this.Count); 1543T[] items = new T[Count];
System\Collections\Generic\SortedSet.TreeSubSet.cs (2)
94if (Count == 0) 336return _underlying.Count;
System.Collections.Immutable (2)
System\Collections\Immutable\ImmutableSortedSet_1.cs (2)
391if (this.Count != otherSet.Count) 433if (this.Count >= otherSet.Count)