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
62 references to Count
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\ActionSelectionTable.cs (1)
132
var routeValues = new string[routeKeys.
Count
];
Microsoft.CodeAnalysis.CodeStyle (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (2)
93
if (toVisit.
Count
> 0)
198
while (toVisit.
Count
!= 0 || unreachableBlocksToVisit.Count != 0);
Microsoft.CodeAnalysis.Test.Utilities (4)
Metadata\MetadataSignatureUnitTestHelper.cs (2)
92
if (signatures.
Count
> 1)
117
else if (signatures.
Count
== 1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (2)
93
if (toVisit.
Count
> 0)
198
while (toVisit.
Count
!= 0 || unreachableBlocksToVisit.Count != 0);
Microsoft.CodeAnalysis.UnitTests (2)
Collections\List\TestBase.Generic.cs (2)
289
while (set.
Count
< count)
298
Debug.Assert(set.
Count
== count);
Microsoft.CodeAnalysis.Workspaces (2)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\FlowAnalysis\CustomDataFlowAnalysis.cs (2)
93
if (toVisit.
Count
> 0)
198
while (toVisit.
Count
!= 0 || unreachableBlocksToVisit.Count != 0);
Microsoft.ML.AutoML (2)
Sweepers\SmacSweeper.cs (2)
397
if (bestK.
Count
< k || r.CompareTo(worst) > 0)
400
if (bestK.
Count
> k)
Microsoft.ML.Core (1)
Utilities\Utils.cs (1)
105
return x == null ? 0 : x.
Count
;
Microsoft.ML.Sweeper (4)
Algorithms\KdoSweeper.cs (2)
434
if (bestK.
Count
< _args.HistoryLength || r.CompareTo(worst) > 0)
437
if (bestK.
Count
> _args.HistoryLength)
Algorithms\SmacSweeper.cs (2)
388
if (bestK.
Count
< k || r.CompareTo(worst) > 0)
391
if (bestK.
Count
> k)
System.CodeDom (1)
Microsoft\CSharp\CSharpCodeGenerator.cs (1)
2476
if (importList.
Count
> 0)
System.Collections (40)
System\Collections\Generic\SortedDictionary.cs (1)
141
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)
379
if (this.Count != otherSet.
Count
)
421
if (this.Count >= otherSet.
Count
)
System.IO.Packaging (1)
System\IO\Packaging\ZipPackage.cs (1)
572
if (pieceSet.
Count
== 0)