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
42 references to Count
ILCompiler.Compiler (8)
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\PEObjectWriter.cs (1)
717
if (_baseRelocMap.
Count
> 0)
src\runtime\src\coreclr\tools\Common\Compiler\Win32Resources\ResourceData.cs (7)
158
if (_resTypeHeadID.
Count
> 0)
161
if (_resTypeHeadName.
Count
> 0)
203
IMAGE_RESOURCE_DIRECTORY.Write(ref dataBuilder, checked((ushort)_resTypeHeadName.
Count
), checked((ushort)_resTypeHeadID.
Count
));
216
IMAGE_RESOURCE_DIRECTORY.Write(ref dataBuilder, checked((ushort)type.Item1.NameHeadName.
Count
), checked((ushort)type.Item1.NameHeadID.
Count
));
231
IMAGE_RESOURCE_DIRECTORY.Write(ref dataBuilder, 0, checked((ushort)type.Item1.Languages.
Count
));
ILCompiler.ReadyToRun (11)
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\PEObjectWriter.cs (1)
717
if (_baseRelocMap.
Count
> 0)
src\runtime\src\coreclr\tools\Common\Compiler\ObjectWriter\WasmObjectWriter.cs (3)
445
if (_baseRelocMap.
Count
> 0)
450
ushort relocSectionIdx = _baseRelocMap.
Count
> 0 ? checked((ushort)webcilSections.Length) : (ushort)0;
655
if (_baseRelocMap.
Count
> 0)
src\runtime\src\coreclr\tools\Common\Compiler\Win32Resources\ResourceData.cs (7)
158
if (_resTypeHeadID.
Count
> 0)
161
if (_resTypeHeadName.
Count
> 0)
203
IMAGE_RESOURCE_DIRECTORY.Write(ref dataBuilder, checked((ushort)_resTypeHeadName.
Count
), checked((ushort)_resTypeHeadID.
Count
));
216
IMAGE_RESOURCE_DIRECTORY.Write(ref dataBuilder, checked((ushort)type.Item1.NameHeadName.
Count
), checked((ushort)type.Item1.NameHeadID.
Count
));
231
IMAGE_RESOURCE_DIRECTORY.Write(ref dataBuilder, 0, checked((ushort)type.Item1.Languages.
Count
));
Microsoft.Build.Utilities.Core (1)
ToolLocationHelper.cs (1)
2608
ErrorUtilities.DebugTraceMessage("GatherSDKListFromDirectory", $"Found '{versionsInRoot.
Count
}' version folders under the identifier path '{rootPathWithIdentifier}'.");
Microsoft.Data.Analysis (1)
DataFrameColumn.cs (1)
483
while (heapOfValueAndListOfTupleOfSortAndBufferIndex.
Count
> 0)
Microsoft.DotNet.Build.Tasks.Packaging (4)
PackageIndex.cs (2)
390
public bool ShouldSerializeAssemblyVersionInPackageVersion() { return AssemblyVersionInPackageVersion.
Count
> 0; }
492
public int Count { get { return inboxVersions.Sum(m => m.Value.
Count
); } }
UpdatePackageIndex.cs (1)
329
info.AssemblyVersionInPackageVersion.
Count
== 0)
ValidatePackage.cs (1)
422
info.AssemblyVersionInPackageVersion.
Count
== 0)
Microsoft.NET.HostModel (7)
src\runtime\src\coreclr\tools\Common\Compiler\Win32Resources\ResourceData.cs (7)
158
if (_resTypeHeadID.
Count
> 0)
161
if (_resTypeHeadName.
Count
> 0)
203
IMAGE_RESOURCE_DIRECTORY.Write(ref dataBuilder, checked((ushort)_resTypeHeadName.
Count
), checked((ushort)_resTypeHeadID.
Count
));
216
IMAGE_RESOURCE_DIRECTORY.Write(ref dataBuilder, checked((ushort)type.Item1.NameHeadName.
Count
), checked((ushort)type.Item1.NameHeadID.
Count
));
231
IMAGE_RESOURCE_DIRECTORY.Write(ref dataBuilder, 0, checked((ushort)type.Item1.Languages.
Count
));
System.Collections (5)
System\Collections\Generic\SortedDictionary.cs (5)
247
Count
== 0 ? EnumerableHelpers.GetEmptyEnumerator<KeyValuePair<TKey, TValue>>() :
564
if (array.Length - index < _dictionary.
Count
)
589
get { return _dictionary.
Count
; }
725
if (array.Length - index < _dictionary.
Count
)
750
get { return _dictionary.
Count
; }
System.Collections.Immutable (2)
System\Collections\Immutable\ImmutableSortedDictionary_2.cs (2)
876
if (dictionary.
Count
== 0)
882
return new ImmutableSortedDictionary<TKey, TValue>(root, dictionary.
Count
, this.KeyComparer, this.ValueComparer);
System.Formats.Tar (1)
System\Formats\Tar\TarHelpers.Unix.cs (1)
106
if (pendingModes.
Count
== 0)
System.Resources.Extensions (1)
src\runtime\src\libraries\Common\src\System\Resources\ResourceWriter.cs (1)
287
int numResources = _resourceList.
Count
;
System.Resources.Writer (1)
src\runtime\src\libraries\Common\src\System\Resources\ResourceWriter.cs (1)
287
int numResources = _resourceList.
Count
;