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