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