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
51 references to Count
PresentationCore (4)
Core\CSharp\System\Windows\Media\Animation\AnimationStorage.cs (4)
52|| _propertyTriggerLayers.Count > 0); 155if (_propertyTriggerLayers.Count == 0) 753int count = propertyTriggerLayers.Count; 945int count = storage._propertyTriggerLayers.Count;
PresentationFramework (4)
src\Framework\System\Windows\Documents\TextContainerChangedEventArgs.cs (4)
315if (isDeletion && curIndex < Changes.Count) 317while (curIndex < Changes.Count && Changes.Values[curIndex].Offset <= offset + length) 336SortedList<int, TextChange> newChanges = new SortedList<int, TextChange>(Changes.Count); 337for (curIndex = 0; curIndex < Changes.Count; curIndex++)
System (23)
compmod\system\collections\generic\sortedlist.cs (23)
415if (array.Length - arrayIndex < Count) { 419for (int i = 0; i < Count; i++) { 442if (array.Length - arrayIndex < Count) { 448for (int i = 0; i < Count; i++) { 459for (int i = 0; i < Count; i++) { 717if( index == 0 || (index == _sortedList.Count + 1) ) { 728if ( (uint)index < (uint)_sortedList.Count ) { 735index = _sortedList.Count + 1; 743if( index == 0 || (index == _sortedList.Count + 1) ) { 759if( index == 0 || (index == _sortedList.Count + 1) ) { 773if( index == 0 || (index == _sortedList.Count + 1) ) { 817if ( (uint)index < (uint)_sortedList.Count) { 823index = _sortedList.Count + 1; 836if( index == 0 || (index == _sortedList.Count + 1) ) { 878if ( (uint)index < (uint)_sortedList.Count) { 884index = _sortedList.Count + 1; 897if( index == 0 || (index == _sortedList.Count + 1) ) { 957Array.Copy(_dict.keys, 0, array, arrayIndex, _dict.Count); 966Array.Copy(_dict.keys, 0, array, arrayIndex, _dict.Count); 999_dict.Count, key, _dict.comparer); 1057Array.Copy(_dict.values, 0, array, arrayIndex, _dict.Count); 1066Array.Copy(_dict.values, 0, array, arrayIndex, _dict.Count); 1095return Array.IndexOf(_dict.values, value, 0, _dict.Count);
System.IdentityModel (3)
System\IdentityModel\Metadata\IndexedProtocolEndpointDictionary.cs (1)
38if (this.Count > 0)
System\IdentityModel\Metadata\MetadataSerializer.cs (2)
2946if (serviceProviderSingleSignOnDescriptor.AssertionConsumerServices.Count == 0) 2991if (singleSignOnDescriptor.ArtifactResolutionServices != null && singleSignOnDescriptor.ArtifactResolutionServices.Count > 0)
System.ServiceModel (5)
System\ServiceModel\Channels\CorrelationKey.cs (3)
116checksum.Append(sortedKeyData.Count.ToString(NumberFormatInfo.InvariantInfo)); 119for (int i = 0; i < sortedKeyData.Count; i++) 135if (sortedKeyData.Count > 0)
System\ServiceModel\Channels\Msmq3PoisonHandler.cs (1)
85if (maxTrackedMessages == this.trackedMessages.Count)
System\UriTemplateTrieNode.cs (1)
683IList<IList<T>> results = new List<IList<T>>(this.items.Count);
System.Web.Extensions (3)
UI\ScriptComponentDescriptor.cs (3)
167if (_events != null && _events.Count > 0) { 198if (_properties != null && _properties.Count > 0) { 231if (_properties != null && _properties.Count > 0) {
System.WorkflowServices (1)
System\Workflow\Activities\ContractMethodInfo.cs (1)
64this.parameters = new ParameterInfo[localParameters.Count];
WindowsBase (8)
Base\MS\Internal\PriorityQueue.cs (6)
26int count = _priorityChains.Count; 61int count = _priorityChains.Count; 86int count = _priorityChains.Count; 137int count = _priorityChains.Count; 289if(item.Chain.Priority == (DispatcherPriority) _priorityChains.Keys[_priorityChains.Count - 1]) 291_priorityChains.RemoveAt(_priorityChains.Count - 1);
Base\System\IO\Packaging\Package.cs (2)
1175if (index < _partList.Count - 1) 1295if (_partList.Count > 0)