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