Implemented interface member:
property
Count
System.Collections.ICollection.Count
5 overrides of Count
mscorlib (5)
system\collections\arraylist.cs (5)
814
public override int
Count
{
1238
public override int
Count
{
1672
public override int
Count
{
1929
public override int
Count
{
2300
public override int
Count
{
2346 references to Count
mscorlib (194)
system\activationcontext.cs (7)
95
if (_definitionIdentities.
Count
<= 1)
113
Contract.Assert(_definitionIdentities.
Count
== 2, "An application must have exactly 1 deployment component and 1 application component in Whidbey");
167
if (_manifests.
Count
<= 1)
182
Contract.Assert(_manifests.
Count
== 2, "An application must have exactly 1 deployment component and 1 application component in Whidbey");
324
return (ICMS) _manifests[_manifests.
Count
-1];
326
return GetComponentManifest((IDefinitionIdentity)_definitionIdentities[_definitionIdentities.
Count
-1]);
372
manifestPath = _manifestPaths[_manifests.
Count
-1];
system\collections\arraylist.cs (24)
108
Contract.Ensures(Contract.Result<int>() >=
Count
);
246
Contract.Ensures(Contract.Result<int>() <
Count
);
255
Contract.Ensures(Contract.Result<int>() <
Count
);
256
return BinarySearch(0,
Count
, value, null);
261
Contract.Ensures(Contract.Result<int>() <
Count
);
262
return BinarySearch(0,
Count
, value, comparer);
415
Contract.Ensures(Contract.Result<int>() <
Count
);
431
Contract.Ensures(Contract.Result<int>() <
Count
);
449
Contract.Ensures(Contract.Result<int>() <
Count
);
528
Contract.Ensures(Contract.Result<int>() <
Count
);
543
if (
Count
!= 0 && (startIndex < 0 || count < 0))
545
Contract.Ensures(Contract.Result<int>() <
Count
);
584
Contract.Ensures(
Count
>= 0);
587
BCLDebug.Correctness(index >= 0 || !(obj is Int32), "You passed an Int32 to Remove that wasn't in the ArrayList." + Environment.NewLine + "Did you mean RemoveAt? int: "+obj+" Count: "+
Count
);
597
Contract.Ensures(
Count
>= 0);
618
Contract.Ensures(
Count
>= 0);
649
Reverse(0,
Count
);
701
Sort(0,
Count
, Comparer.Default);
708
Sort(0,
Count
, comparer);
1239
get { lock(_root) { return _list.
Count
; } }
1673
get { return _list.
Count
; }
1930
get { return _list.
Count
; }
2581
if (index < list.
Count
- 1) {
2586
index = list.
Count
;
system\collections\collectionbase.cs (2)
55
return list == null ? 0 : list.
Count
;
134
OnInsert(InnerList.
Count
, value);
system\collections\readonlycollectionbase.cs (1)
30
get { return InnerList.
Count
; }
system\deployment\isolationinterop.cs (2)
2506
StoreTransactionOperation[] txnList = new StoreTransactionOperation[_list.
Count
];
2508
for (int i = 0; i != _list.
Count
; i++)
system\reflection\assembly.cs (1)
2980
if (a.
Count
> 0 || bTryLoadAnyway)
system\resources\resourcemanager.cs (1)
1583
String[] satellites = new String[list.
Count
];
system\runtime\interopservices\registrationservices.cs (1)
248
Type[] RetArray = new Type[TypeList.
Count
];
system\runtime\interopservices\tceadaptergen\tceadaptergenerator.cs (4)
22
int NumEvItfs = EventItfList.
Count
;
100
for (int i=0; i < methods.
Count
; i++)
108
MethodInfo[] retMethods = new MethodInfo[methods.
Count
];
130
MethodInfo[] retMethods = new MethodInfo[methods.
Count
];
system\runtime\interopservices\typelibconverter.cs (1)
152
if (eventItfInfoList.
Count
> 0)
system\runtime\remoting\activationservices.cs (2)
654
for (int i=0; i<list.
Count
; i++)
682
for (int i=0; i<list.
Count
;i++)
system\runtime\remoting\configuration.cs (4)
418
if (configData.ServerActivatedEntries.
Count
> 0)
464
if (entry.ClientSinkProviders.
Count
> 0)
466
if (entry.ServerSinkProviders.
Count
> 0)
1066
int numAttrs = contextAttributes.
Count
;
system\runtime\remoting\ichannel.cs (1)
448
int co = _headerList.
Count
- 1;
system\runtime\remoting\leasemanager.cs (4)
206
for (int i=0; i<tempObjects.
Count
; i++)
216
for (int i=0; i<tempObjects.
Count
; i++)
244
for (int i=0; i<tempObjects.
Count
; i++)
254
for (int i=0; i<tempObjects.
Count
; i++)
system\runtime\remoting\message.cs (6)
3353
if (parameters.Length == argValues.
Count
)
3417
for (int i=0; i<argNames.
Count
; i++)
3470
for (int i=0; i<paramNames.
Count
; i++)
3509
for (int i=0; i<paramNames.
Count
; i++)
4447
for (int i=paramNameIndex; i<paramNames.
Count
; i++)
4497
for (int j=paramNameIndex; j<paramNames.
Count
; j++)
system\runtime\remoting\messagesmuggler.cs (7)
102
index = argsToSerialize.
Count
;
126
index = argsToSerialize.
Count
;
318
_instantiation = new SerializedArg(argsToSerialize.
Count
);
328
_methodSignature = new SerializedArg(argsToSerialize.
Count
);
343
_callContext = new SerializedArg(argsToSerialize.
Count
);
495
_exception = new SerializedArg(argsToSerialize.
Count
);
513
_callContext = new SerializedArg(argsToSerialize.
Count
);
system\runtime\remoting\remotingconfigparser.cs (4)
967
if ((remoteApp.ActivatedObjects.
Count
> 0) && (remoteAppUri == null))
1525
if (channelEntry.ClientSinkProviders.
Count
== 0)
1529
if (channelEntry.ServerSinkProviders.
Count
== 0)
1694
if (sinkProviderEntry.ProviderData.
Count
== 0)
system\runtime\remoting\remotingservices.cs (1)
2124
if (params1.
Count
!= params2.Length)
system\runtime\remoting\soap.cs (1)
511
if (mbTable.
Count
> 1)
system\runtime\remoting\synchronizeddispatch.cs (1)
540
if (!bNested && AsyncCallOutLCIDList.
Count
>0)
system\security\accesscontrol\acl.cs (2)
464
get { return _aces.
Count
; }
559
int newBinaryLength = BinaryLength - ( index < _aces.
Count
? ( _aces[index] as GenericAce ).BinaryLength : 0 ) + value.BinaryLength;
system\security\permissionlistset.cs (6)
221
if (this.m_zoneList == null && pls.m_zoneList != null && pls.m_zoneList.
Count
> 0)
224
if (this.m_originList == null && pls.m_originList != null && pls.m_originList.
Count
> 0)
300
for(int i=0;i < newList.
Count
; i++)
458
for (int i=0; (i < m_permSetTriples.
Count
&& bRet != SecurityRuntime.StackHalt) ; i++)
488
for (int i=0; (i < m_permSetTriples.
Count
&& bRet != SecurityRuntime.StackHalt) ; i++)
517
for (int i = 0; i < m_permSetTriples.
Count
&& check && flags != 0; i++)
system\security\permissions\keycontainerpermission.cs (4)
250
return m_list.
Count
;
576
if (securityElement.InternalChildren != null && securityElement.InternalChildren.
Count
!= 0) {
599
if (securityElement.InternalChildren != null && securityElement.InternalChildren.
Count
!= 0) {
605
int iMax = current.m_lAttributes.
Count
;
system\security\permissions\principalpermission.cs (2)
543
if (elem.InternalChildren != null && elem.InternalChildren.
Count
!= 0)
545
int numChildren = elem.InternalChildren.
Count
;
system\security\permissions\publisheridentitypermission.cs (2)
204
if(alCerts.
Count
== 0)
284
if(al.
Count
!= 0)
system\security\permissionset.cs (3)
751
for (int i = 0; i < elChild.InternalChildren.
Count
; ++i)
1771
int childCount = et.InternalChildren.
Count
;
1875
int childCount = childrenIndices.
Count
;
system\security\policy\applicationtrust.cs (1)
411
return AppTrusts.
Count
;
system\security\policy\codegroup.cs (8)
488
int childCount = m_element.InternalChildren.
Count
;
542
childCount = m_element.InternalChildren.
Count
;
546
unparsedChildren.Add( new CodeGroupPositionMarker( i, childrenList.
Count
, elGroup ) );
560
childCount = m_element.InternalChildren.
Count
;
564
unparsedChildren.Add( new CodeGroupPositionMarker( i, childrenList.
Count
, elGroup ) );
751
if (list1.
Count
!= list2.
Count
) return false;
753
for (int i = 0; i < list1.
Count
; i++)
system\security\policy\netcodegroup.cs (13)
313
for (int i=0; i < m_schemesList.
Count
; ++i)
322
for (i = 0; i < list.
Count
; ++i)
351
DictionaryEntry[] result = new DictionaryEntry[m_schemesList.
Count
];
730
group.m_accessList = new ArrayList(this.m_accessList.
Count
);
731
for (int i = 0; i < this.m_accessList.
Count
; ++i)
787
if (this.m_schemesList.
Count
!= that.m_schemesList.
Count
)
791
for (int i = 0; i < this.m_schemesList.
Count
; ++i)
799
if (thisList.
Count
!= thatList.
Count
)
802
for (int k = 0; k < thisList.
Count
; ++k)
823
for(int i = 0; i < m_schemesList.
Count
; ++i)
827
for(int i = 0; i < accessList.
Count
; ++i)
system\security\policy\policylevel.cs (16)
243
ArrayList newList = new ArrayList(m_namedPermissionSets.
Count
);
388
for (int index = 0; index < namedPermissionSets.
Count
; ++index) {
405
for (int index = 0; index < groups.
Count
; ++index) {
944
if (fullTrustAssemblies.
Count
== 0)
1194
while (m_permSetElement != null && m_permSetElement.InternalChildren.
Count
!= 0) {
1195
SecurityElement elPermSet = (SecurityElement)m_permSetElement.Children[m_permSetElement.InternalChildren.
Count
-1];
1196
m_permSetElement.InternalChildren.RemoveAt(m_permSetElement.InternalChildren.
Count
-1);
1278
accumulator.RemoveRange(0, accumulator.
Count
);
1324
if (elem.InternalChildren != null && elem.InternalChildren.
Count
> 0) {
1335
if (elem.m_lAttributes == null || elem.m_lAttributes.
Count
== 0)
1338
int iMax = elem.m_lAttributes.
Count
;
1360
if (elem.InternalChildren != null && elem.InternalChildren.
Count
> 0) {
1372
if (classes == null || elem.m_lAttributes == null || elem.m_lAttributes.
Count
== 0)
1375
int iMax = elem.m_lAttributes.
Count
;
1420
int count = m_array.
Count
;
1428
return m_array.
Count
== 0;
system\security\policy\policystatement.cs (1)
482
for (int i = 0; i < childPositions.
Count
; ++i)
system\security\policymanager.cs (2)
209
return accumList.GetEnumerator(0, accumList.
Count
);
368
for (int i = 0; i < list.
Count
; ++i)
system\security\securitydocument.cs (2)
221
for (int i = 0; i < elCurrent.m_lAttributes.
Count
; i+=2)
237
for (int i = 0; i < elCurrent.InternalChildren.
Count
; ++i)
system\security\securityelement.cs (16)
167
if (m_lAttributes == null || m_lAttributes.
Count
== 0)
173
Hashtable hashtable = new Hashtable( m_lAttributes.
Count
/2 );
175
int iMax = m_lAttributes.
Count
;
272
for (int i = 0; i < m_lChildren.
Count
; ++i)
300
int iMax = m_lAttributes.
Count
;
371
for (int i = 0; i < m_lChildren.
Count
; ++i)
404
int iMax = m_lAttributes.
Count
;
407
if (iMax != other.m_lAttributes.
Count
)
431
if (m_lChildren.
Count
!= other.m_lChildren.
Count
)
679
if (m_lAttributes != null && m_lAttributes.
Count
> 0)
683
int iMax = m_lAttributes.
Count
;
696
if (i != m_lAttributes.
Count
- 2)
710
if (m_strText == null && (m_lChildren == null || m_lChildren.
Count
== 0))
750
for (int i = 0; i < m_lChildren.
Count
; ++i)
787
int iMax = m_lAttributes.
Count
;
system\security\util\sitestring.cs (18)
208
else if (this.m_separatedSite.
Count
== operand.m_separatedSite.
Count
&&
209
this.m_separatedSite.
Count
== 0)
213
else if (this.m_separatedSite.
Count
< operand.m_separatedSite.
Count
- 1)
217
else if (this.m_separatedSite.
Count
> operand.m_separatedSite.
Count
&&
218
operand.m_separatedSite.
Count
> 0 &&
219
!operand.m_separatedSite[operand.m_separatedSite.
Count
- 1].Equals("*"))
228
for (int index = 0; index < operand.m_separatedSite.
Count
- 1; ++index)
236
if (this.m_separatedSite.
Count
< operand.m_separatedSite.
Count
)
238
return operand.m_separatedSite[operand.m_separatedSite.
Count
- 1].Equals("*");
240
else if (this.m_separatedSite.
Count
== operand.m_separatedSite.
Count
)
243
return (String.Compare((String)this.m_separatedSite[this.m_separatedSite.
Count
- 1],
244
(String)operand.m_separatedSite[this.m_separatedSite.
Count
- 1],
246
operand.m_separatedSite[operand.m_separatedSite.
Count
- 1].Equals("*"));
system\security\util\stringexpressionset.cs (15)
362
return m_list.
Count
== 0;
378
for (int index = 0; index < this.m_list.
Count
; ++index)
400
for (int index = 0; index < this.m_list.
Count
; ++index)
428
StringExpressionSet bigger = ses.m_list.
Count
> this.m_list.
Count
? ses : this;
429
StringExpressionSet smaller = ses.m_list.
Count
<= this.m_list.
Count
? ses : this;
435
for (int index = 0; index < smaller.m_list.
Count
; ++index)
461
for (int this_index = 0; this_index < this.m_list.
Count
; ++this_index)
463
for (int ses_index = 0; ses_index < ses.m_list.
Count
; ++ses_index)
565
for (int index = 0; index < right.m_list.
Count
; ++index)
578
for (int index = 0; index < right.m_list.
Count
; ++index)
681
while (index < this.m_list.
Count
)
709
for (int i = 0; i < this.m_list.
Count
- 1; i++)
713
while (j < this.m_list.
Count
)
system\security\util\urlstring.cs (8)
1140
else if (operand.m_separatedSite.
Count
== 0)
1142
return this.m_separatedSite.
Count
== 0 || this.m_separatedSite.
Count
> 0 && String.Compare((String)this.m_separatedSite[0], "*", StringComparison.Ordinal) == 0;
1144
else if (this.m_separatedSite.
Count
== 0)
1223
else if (operand.m_separatedSite.
Count
== 0)
1225
return this.m_separatedSite.
Count
== 0 || this.m_separatedSite.
Count
> 0 && String.Compare((String)this.m_separatedSite[0], "*", StringComparison.Ordinal) == 0;
1227
else if (this.m_separatedSite.
Count
== 0)
PresentationBuildTasks (78)
BuildTasks\Microsoft\Build\Tasks\Windows\GenerateTemporaryTargetAssembly.cs (1)
423
if (itemToRemove.
Count
> 0)
BuildTasks\Microsoft\Build\Tasks\Windows\MarkupCompilePass1.cs (2)
1360
if (localRefAppdefList.
Count
> 0)
1365
if (localRefPageList.
Count
> 0)
BuildTasks\MS\Internal\Localization\LocalizationParserHooks.cs (1)
109
if (_commentList.
Count
> 0)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (6)
249
if (_pendingLocalFiles != null && _pendingLocalFiles.
Count
== 1)
271
if (_pendingLocalFiles != null && _pendingLocalFiles.
Count
> 0)
285
Debug.Assert(_pendingLocalFiles == null || _pendingLocalFiles.
Count
== 0);
1165
if ((elementName == null || !isAllowedNameScope) && (events == null || events.
Count
== 0))
1318
if (ReferenceAssemblyList != null && ReferenceAssemblyList.
Count
> 0)
1320
for (int i = 0; i < ReferenceAssemblyList.
Count
; i++)
BuildTasks\MS\Internal\Tasks\CompilerLocalReference.cs (1)
285
if (alMarkupPages.
Count
> 0)
BuildTasks\MS\Internal\Tasks\CompilerWrapper.cs (1)
250
for (int i = 0; i < _mc.ReferenceAssemblyList.
Count
; i++)
Framework\System\Windows\Markup\BamlRecordWriter.cs (20)
362
((KeyDeferRecord)_deferKeys[_deferKeys.
Count
-1]).RecordList.Add(deferRecord);
506
KeyDeferRecord keyRecord = (KeyDeferRecord)(_deferKeys[_deferKeys.
Count
-1]);
546
for (int i = 0; i < record.RecordList.
Count
; i++)
581
KeyDeferRecord keyRecord = (KeyDeferRecord)(_deferKeys[_deferKeys.
Count
-1]);
616
KeyDeferRecord keyRecord = (KeyDeferRecord)(_deferKeys[_deferKeys.
Count
-1]);
714
if (asmList.
Count
> 0)
716
short[] assemblyIds = new short[asmList.
Count
];
718
for (int i = 0; i < asmList.
Count
; i++)
850
KeyDeferRecord keyRecord = (KeyDeferRecord)(_deferKeys[_deferKeys.
Count
-1]);
853
Debug.Assert(keyRecord.RecordList.
Count
== 0, "Should have empty record list");
1182
KeyDeferRecord keyDeferRecord = ((KeyDeferRecord)_deferKeys[_deferKeys.
Count
-1]);
1506
((KeyDeferRecord)_deferKeys[_deferKeys.
Count
-1]).RecordList.Add(deferRec);
1540
for (int h = 0; h<_deferElement.
Count
; h++)
1559
for (int i = 0; i<_deferKeys.
Count
; i++)
1572
keyRecord.RecordList.
Count
> 0)
1574
for (int j = 0; j < keyRecord.RecordList.
Count
; j++)
1623
for (int j = 0; j<_deferValues.
Count
; j++)
1632
deferKeyRecord.RecordList.
Count
> 0)
1652
Debug.Assert(keyIndex == _deferKeys.
Count
,
1704
KeyDeferRecord keyDeferRecord = ((KeyDeferRecord)_deferKeys[_deferKeys.
Count
-1]);
Framework\System\Windows\Markup\MarkupExtensionParser.cs (22)
331
if (tokens.
Count
== 1)
337
if (tokens.
Count
== 3 &&
631
ArrayList xamlNodes = new ArrayList(markupExtensionList.
Count
* 5);
633
for (int i = 0; i<markupExtensionList.
Count
; i++)
804
(list.
Count
== 1 ||
805
(list.
Count
> 1 && !(list[1] is String) && ((Char)list[1] == ','))))
842
ArrayList xamlNodes = new ArrayList(complexDefAttributesList.
Count
* 5);
843
for (int i = 0; i<complexDefAttributesList.
Count
; i++)
880
(list.
Count
== 1 ||
881
(list.
Count
> 1 && !(list[1] is String) && ((Char)list[1] == ','))))
1114
else if (list.
Count
== 0)
1120
else if (list[list.
Count
- 1] is Char)
1134
parameterName = (string) list[list.
Count
- 1];
1154
else if (list.
Count
> 0 && (list[list.
Count
-1] is Char))
1254
if (list != null && listIndex < list.
Count
)
1264
for (; listIndex < list.
Count
; listIndex+=2)
1274
if (list.
Count
> (listIndex+1) &&
1362
if (list != null && listIndex < list.
Count
)
1364
ArrayList propertyNamesSoFar = new ArrayList(list.
Count
/4);
1366
for (int k = listIndex; k < list.
Count
; k+=4)
1369
if (k > (list.
Count
-3) ||
Framework\System\Windows\Markup\ParserStack.cs (8)
82
object o = this[
Count
- 1];
83
RemoveAt(
Count
- 1);
109
get { return
Count
> 0 ? this[
Count
- 1] : null; }
117
get { return
Count
> 1 ? this[
Count
- 2] : null; }
125
get { return
Count
> 2 ? this[
Count
- 3] : null; }
Framework\System\Windows\Markup\XamlReaderHelper.cs (16)
2952
for (int i = 0; i < xamlNodes.
Count
; i++)
2964
for (int i = 0; i < xamlNodes.
Count
; i++)
5789
Debug.Assert((_nodeIndex == 0 && _xamlNodes.
Count
== 0 ) || (_nodeIndex < _xamlNodes.
Count
),
5791
if (_xamlNodes.
Count
> 0)
5796
if (_nodeIndex == _xamlNodes.
Count
)
5809
Debug.Assert((_nodeIndex == 0 && _xamlNodes.
Count
== 0 ) || (_nodeIndex < _xamlNodes.
Count
),
5820
get { return _xamlNodes.
Count
; }
5837
_insertionIndex = value ? _xamlNodes.
Count
: -1;
5878
if (_xamlNodes.
Count
> 0)
5880
for (int i = _xamlNodes.
Count
- 1; i >= _nodeIndex; i--)
5891
if (_nodeIndex >= _xamlNodes.
Count
)
5895
Debug.Assert(_nodeIndex == _xamlNodes.
Count
, "NodeIndex is larger than node count.");
6043
_typeConverterCandidateIndex = _xamlNodes.
Count
- 1;
6067
_typeConverterCandidateIndex = _xamlNodes.
Count
- 1;
PresentationCore (53)
Core\CSharp\MS\Internal\IO\Packaging\ByteRangeDownloader.cs (2)
189
int rangeCount = _byteRangesAvailable.
Count
/ 2;
769
if (_requestsOnWait != null && _requestsOnWait.
Count
> 0)
Core\CSharp\MS\Internal\IO\Packaging\NetStream.cs (2)
976
for (int i = 0; i + 1 < ranges.
Count
; i++)
987
if (i + 1 >= ranges.
Count
)
Core\CSharp\MS\Internal\TextFormatting\FullTextLine.cs (3)
1765
if (boundsList.
Count
> 0)
1773
bounds = new TextBounds[boundsList.
Count
];
1774
for (int i = 0; i < boundsList.
Count
; i++)
Core\CSharp\MS\Internal\TextFormatting\SimpleTextLine.cs (2)
288
while(count < runs.
Count
)
414
int left = runs != null ? runs.
Count
: 0;
Core\CSharp\MS\Internal\TextFormatting\TextStore.cs (1)
1808
Plsrun plsrun = (Plsrun)((uint)_lsrunList.
Count
+ Plsrun.FormatAnchor);
Core\CSharp\System\Windows\DataFormats.cs (3)
90
for (int n = 0; n < _formatList.
Count
; n++)
102
for (int n = 0; n < _formatList.
Count
; n++)
396
for (int n = 0; n < _formatList.
Count
; n++)
Core\CSharp\System\Windows\DataObject.cs (3)
1567
distinctStrings = new string[distinct.
Count
];
2892
temp = new string[formats.
Count
];
3922
temp = new string[formats.
Count
];
Core\CSharp\System\Windows\GlobalEventManager.cs (1)
435
if (_globalIndexToEventMap.
Count
>= Int32.MaxValue)
Core\CSharp\System\Windows\Input\AccessKeyManager.cs (6)
90
if (elements.
Count
== 0)
661
for (int i = 0; i < elements.
Count
; )
688
List<IInputElement> copy = new List<IInputElement>(elements.
Count
);
690
for (int i = 0; i < elements.
Count
; )
775
for (int i = 0; i < elements.
Count
; i++)
796
for (int i = 0; i < elements.
Count
; i++)
Core\CSharp\System\Windows\Media\Animation\Generated\BooleanAnimationUsingKeyFrames.cs (1)
767
for (int j = 0; j < unspecifiedBlocks.
Count
; j++)
Core\CSharp\System\Windows\Media\Animation\Generated\ByteAnimationUsingKeyFrames.cs (1)
859
for (int j = 0; j < unspecifiedBlocks.
Count
; j++)
Core\CSharp\System\Windows\Media\Animation\Generated\CharAnimationUsingKeyFrames.cs (1)
767
for (int j = 0; j < unspecifiedBlocks.
Count
; j++)
Core\CSharp\System\Windows\Media\Animation\Generated\ColorAnimationUsingKeyFrames.cs (1)
859
for (int j = 0; j < unspecifiedBlocks.
Count
; j++)
Core\CSharp\System\Windows\Media\Animation\Generated\DecimalAnimationUsingKeyFrames.cs (1)
859
for (int j = 0; j < unspecifiedBlocks.
Count
; j++)
Core\CSharp\System\Windows\Media\Animation\Generated\DoubleAnimationUsingKeyFrames.cs (1)
859
for (int j = 0; j < unspecifiedBlocks.
Count
; j++)
Core\CSharp\System\Windows\Media\Animation\Generated\Int16AnimationUsingKeyFrames.cs (1)
859
for (int j = 0; j < unspecifiedBlocks.
Count
; j++)
Core\CSharp\System\Windows\Media\Animation\Generated\Int32AnimationUsingKeyFrames.cs (1)
859
for (int j = 0; j < unspecifiedBlocks.
Count
; j++)
Core\CSharp\System\Windows\Media\Animation\Generated\Int64AnimationUsingKeyFrames.cs (1)
859
for (int j = 0; j < unspecifiedBlocks.
Count
; j++)
Core\CSharp\System\Windows\Media\Animation\Generated\MatrixAnimationUsingKeyFrames.cs (1)
767
for (int j = 0; j < unspecifiedBlocks.
Count
; j++)
Core\CSharp\System\Windows\Media\Animation\Generated\ObjectAnimationUsingKeyFrames.cs (1)
767
for (int j = 0; j < unspecifiedBlocks.
Count
; j++)
Core\CSharp\System\Windows\Media\Animation\Generated\Point3DAnimationUsingKeyFrames.cs (1)
859
for (int j = 0; j < unspecifiedBlocks.
Count
; j++)
Core\CSharp\System\Windows\Media\Animation\Generated\PointAnimationUsingKeyFrames.cs (1)
859
for (int j = 0; j < unspecifiedBlocks.
Count
; j++)
Core\CSharp\System\Windows\Media\Animation\Generated\QuaternionAnimationUsingKeyFrames.cs (1)
859
for (int j = 0; j < unspecifiedBlocks.
Count
; j++)
Core\CSharp\System\Windows\Media\Animation\Generated\RectAnimationUsingKeyFrames.cs (1)
859
for (int j = 0; j < unspecifiedBlocks.
Count
; j++)
Core\CSharp\System\Windows\Media\Animation\Generated\Rotation3DAnimationUsingKeyFrames.cs (1)
859
for (int j = 0; j < unspecifiedBlocks.
Count
; j++)
Core\CSharp\System\Windows\Media\Animation\Generated\SingleAnimationUsingKeyFrames.cs (1)
859
for (int j = 0; j < unspecifiedBlocks.
Count
; j++)
Core\CSharp\System\Windows\Media\Animation\Generated\SizeAnimationUsingKeyFrames.cs (1)
859
for (int j = 0; j < unspecifiedBlocks.
Count
; j++)
Core\CSharp\System\Windows\Media\Animation\Generated\StringAnimationUsingKeyFrames.cs (1)
767
for (int j = 0; j < unspecifiedBlocks.
Count
; j++)
Core\CSharp\System\Windows\Media\Animation\Generated\Vector3DAnimationUsingKeyFrames.cs (1)
859
for (int j = 0; j < unspecifiedBlocks.
Count
; j++)
Core\CSharp\System\Windows\Media\Animation\Generated\VectorAnimationUsingKeyFrames.cs (1)
859
for (int j = 0; j < unspecifiedBlocks.
Count
; j++)
Core\CSharp\System\Windows\Media\Imaging\BitmapMetadata.cs (9)
218
count = (UInt32) _metadataBlocks.
Count
;
236
if (index >= _metadataBlocks.
Count
)
375
if (index >= _metadataBlocks.
Count
)
407
if (_fixedSize && _metadataBlocks.
Count
>0)
434
if (index >= _metadataBlocks.
Count
)
462
if (index >= _metadataBlocks.
Count
)
565
if (_index >= _metadataBlocks.
Count
|| celt == 0)
602
if (newIndex > _metadataBlocks.
Count
)
604
_index = (uint) _metadataBlocks.
Count
;
PresentationFramework (406)
src\Framework\MS\Internal\Annotations\Anchoring\PathNode.cs (1)
340
while (fp.Node.Equals(sp.Node) && sp._children.
Count
> 0)
src\Framework\MS\Internal\AppModel\RootBrowserWindow.cs (1)
768
for (int i = 0; i < navigationService.ChildNavigationServices.
Count
; i++)
src\Framework\MS\Internal\Controls\InnerItemCollectionView.cs (4)
235
for (int i = _rawList.
Count
- 1; i >=0; --i)
526
for (int k = 0; k < _rawList.
Count
; ++k)
623
get { return _rawList.
Count
; }
628
get { return _viewList.
Count
; }
src\Framework\MS\Internal\Data\DefaultAsyncDataDispatcher.cs (1)
44
for (int i=0; i<_list.
Count
; ++i)
src\Framework\MS\Internal\Data\PathParser.cs (1)
174
result = new SourceValueInfo[_al.
Count
];
src\Framework\MS\Internal\Data\SortFieldComparer.cs (1)
99
int n = al.
Count
;
src\Framework\MS\Internal\Data\ViewManager.cs (4)
277
for (int k=0; k<al.
Count
; ++k)
282
return (al.
Count
> 0 || this.Count == 0);
829
for (int k=0; k<al.
Count
; ++k)
834
return (al.
Count
> 0 || foundViewTableDirt);
src\Framework\MS\Internal\DataStreams.cs (1)
281
for (int subStreamIndex = 0; subStreamIndex < subStreams.
Count
; ++subStreamIndex)
src\Framework\MS\Internal\Documents\DocumentGrid.cs (1)
1531
for (int i = 0; i < visiblePages.
Count
; i++)
src\Framework\MS\Internal\Globalization\BamlTreeUpdater.cs (1)
70
for(int i = 0; i < deferredResources.
Count
; i++)
src\Framework\MS\Internal\Ink\LassoSelectionBehavior.cs (1)
459
Point[] retPointArray = new Point[pointArray.
Count
];
src\Framework\MS\Internal\PtsHost\Line.cs (2)
701
Debug.Assert(cchGlyphRuns > 0 && glyphRunsCollection.
Count
> 0);
732
Invariant.Assert(runIndex < glyphRunsCollection.
Count
);
src\Framework\MS\Internal\PtsHost\PtsContext.cs (2)
101
for (index = 0; index < _pageBreakRecords.
Count
; index++)
119
for (index = 0; index < _pages.
Count
; index++)
src\Framework\MS\Internal\Utility\TraceLog.cs (2)
45
if (_log.
Count
== _size)
55
for (int k=0; k<_log.
Count
; ++k)
src\Framework\System\Windows\Controls\PasswordTextContainer.cs (6)
321
for (index = 0; index < _positionList.
Count
; index++)
731
for (; index < _positionList.
Count
; index++)
771
for (; index < _positionList.
Count
; index++)
796
for (index = _positionList.
Count
-1; index >= 0; index--)
820
for (index = 0; index < _positionList.
Count
; index++)
853
for (index = 0; index < _positionList.
Count
; index++)
src\Framework\System\Windows\Controls\RadioButton.cs (3)
110
if (elements.
Count
== 0)
121
for (int i = 0; i < elements.
Count
; )
148
for (int i = 0; i < elements.
Count
; )
src\Framework\System\Windows\Controls\TextBlock.cs (1)
2082
for (int index = 0; index < inlineObjects.
Count
; index++)
src\Framework\System\Windows\Data\BindingOperations.cs (1)
278
for (int i = 0; i < batch.
Count
; i++)
src\Framework\System\Windows\Data\CollectionView.cs (5)
1877
int startCount = changeLog.
Count
;
1879
for ( ; currentIndex < changeLog.
Count
&& !(mustDeferProcessing); currentIndex++)
1894
if (mustDeferProcessing && currentIndex < changeLog.
Count
)
1935
if (_changeLog.
Count
== 0 && CheckAccess())
1954
null, _changeLog.
Count
);
src\Framework\System\Windows\Data\CompositeCollection.cs (2)
144
for (int k=0, n=InternalList.
Count
; k < n; ++k)
300
return InternalList.
Count
;
src\Framework\System\Windows\Documents\AdornerLayer.cs (14)
229
while (i < adornerInfos.
Count
)
255
while (i < adornerInfos.
Count
)
276
if (adornerInfos == null || adornerInfos.
Count
== 0)
279
Adorner[] adorners = new Adorner[adornerInfos.
Count
];
281
for (int i = 0; i < adornerInfos.
Count
; i++)
440
while (j < adornerInfos.
Count
)
475
while (j < adornerInfos.
Count
)
660
if (adornerInfos.
Count
> 1)
682
int insertionIndex = _children.IndexOf(((AdornerInfo)adornerInfos[adornerInfos.
Count
- 1]).Adorner) + 1;
702
while (adornerInfos.
Count
> 0)
741
for (int i = 0; i < adornerInfos.
Count
; i++)
827
for (int i = 0; i < removeList.
Count
; i++)
928
if (adornerInfos.
Count
== 0)
944
while (i < adornerInfos.
Count
)
src\Framework\System\Windows\Documents\CompositionAdorner.cs (4)
152
for (int i = 0; i < _attributeRanges.
Count
; i++)
160
if (attributeRange.CompositionLines.
Count
== 0)
239
for (int j = 0; j < attributeRange.CompositionLines.
Count
; j++)
343
for (int i = 0; i < _attributeRanges.
Count
; i++)
src\Framework\System\Windows\Documents\Highlights.cs (1)
398
return (_layers == null) ? 0 : _layers.
Count
;
src\Framework\System\Windows\Documents\MoveSizeWinEventHandler.cs (2)
80
for (int i = 0; i < _arTextStore.
Count
; i++)
119
return _arTextStore.
Count
;
src\Framework\System\Windows\Documents\RtfFormatStack.cs (7)
55
Invariant.Assert(
Count
!= 0);
57
if (
Count
> 0)
59
RemoveAt(
Count
- 1);
65
return
Count
> 0 ? EntryAt(
Count
- 1) : null;
70
int index =
Count
- 1 - fromTop;
72
if (index < 0 || index >=
Count
)
src\Framework\System\Windows\Documents\RtfToXamlReader.cs (149)
2890
return _cellFormats.
Count
;
3635
for (int i = 0; i <
Count
; i++)
3650
for (int i = 0; i <
Count
; i++)
3671
for (int i = 0; i <
Count
; i++)
3697
for (int i = 0; i <
Count
; i++)
3736
if (
Count
== 0)
3742
for (int i =
Count
- 1; i >= 0; i--)
3752
return EntryAt(
Count
- 1);
3981
if (index >= 0 && index <
Count
)
4009
for (int i = 0; i <
Count
; i++)
4021
return
Count
- 1;
4026
if (index >= 0 && index <
Count
)
4096
return EntryAt(
Count
- 1);
4236
if (index >
Count
)
4238
index =
Count
- 1;
4240
return (ListLevel)(
Count
> index && index >= 0 ? this[index] : null);
4266
return
Count
> 0 ? EntryAt(
Count
- 1) : null;
4396
for (int i = 0; i <
Count
; i++)
4432
return
Count
> 0 ? EntryAt(
Count
- 1) : null;
4571
for (int i = 0; i <
Count
; i++)
4607
return
Count
> 0 ? EntryAt(
Count
- 1) : null;
5383
if (ColumnStateArray != null && ColumnStateArray.
Count
> 0)
5391
for (int i = 0; i < ColumnStateArray.
Count
; i++)
5659
for (int i = 0; i < dnaRows.
Count
; i++)
5677
for (int k = 0; k < cols.
Count
; k++)
6300
for (int i = 0; i <
Count
; i++)
6362
InsertNode(
Count
, documentNode);
6369
if (
Count
> 0)
6371
Excise(
Count
- 1, 1);
6379
for (int i =
Count
- 1; i >= 0; i--)
6394
return ((
Count
> 0) && (EntryAt(
Count
- 1).Type == documentNodeType));
6406
Debug.Assert(nStart + nChild <
Count
);
6407
if (nStart + nChild >=
Count
)
6409
nChild =
Count
- nStart - 1;
6491
Debug.Assert(
Count
== 0 || (nStart >= 0 && nStart <
Count
));
6492
if (nStart >=
Count
|| nStart < 0)
6502
Debug.Assert(nStart + nChild <
Count
);
6503
if (nStart + nChild >=
Count
)
6505
nChild =
Count
- nStart - 1;
6552
Debug.Assert(
Count
== 0 || (nStart >= 0 && nStart <
Count
));
6553
if (nStart >=
Count
|| nStart < 0)
6563
Debug.Assert(nStart + nChild <
Count
);
6564
if (nStart + nChild >=
Count
)
6566
nChild =
Count
- nStart - 1;
6611
for (int nAt = 0; nAt <
Count
; nAt++)
6619
Debug.Assert(
Count
== 0 || (index >= 0 && index <
Count
));
6620
Debug.Assert(index + nChildCount <
Count
);
6621
if (index >=
Count
|| index < 0 || index + nChildCount >=
Count
)
6649
Debug.Assert(
Count
== 0 || (index >= 0 && index <
Count
));
6650
if (index >=
Count
|| index < 0)
6665
for (int i =
Count
- 1; i > index; i--)
6675
CloseAtHelper(index,
Count
- index - 1);
6685
for (int nAt = 0; nAt <
Count
; nAt++)
6694
Debug.Assert(nAt + dn.ChildCount <
Count
);
6708
for (int nAt = 0; nAt <
Count
; nAt++)
6734
for (int nAt = 0; nAt <
Count
; nAt++)
6751
for (int i = _dnaOpen.
Count
- 1; i >= 0; i--)
6784
for (int i = _dnaOpen.
Count
- 1; i >= 0; i--)
6803
for (int i = _dnaOpen.
Count
- 1; i >= 0; i--)
6837
for (int i = 0; i < _dnaOpen.
Count
; i++)
6847
for (int i = nShape; i < _dnaOpen.
Count
; i++)
6866
if (mlHave.
Count
> 0 || mlWant.
Count
== 0)
6872
for (int i =
Count
- 1; i >= 0; i--)
6925
if (ml.
Count
== 1 && bAllBullet)
6935
for (int i =
Count
- 1; i >= 0; i--)
6968
for (int i = _dnaOpen.
Count
- 1; i >= 0; i--)
6984
for (int j =
Count
- 1; j >= 0; j--)
7016
for (int i = _dnaOpen.
Count
- 1; i >= 0; i--)
7050
return FindPendingFrom(documentNodeType,
Count
- 1, nLow);
7062
for (int i = _dnaOpen.
Count
- 1; i >= 0; i--)
7080
for (i = 0; i <
Count
; i++)
7085
for (i = 1; i <
Count
; i++)
7108
int i =
Count
- 1;
7118
int nCull =
Count
- (i + 1);
7129
int i =
Count
;
7149
for (nAt++; nAt <
Count
; nAt++)
7221
for (; nAt <
Count
; nAt++)
7244
return
Count
> 0 ? EntryAt(
Count
- 1) : null;
7416
int nCount = dnaCells.
Count
< rf.CellCount ? dnaCells.
Count
: rf.CellCount;
7463
while (nColsSeen < csa.
Count
)
7491
for (int i = 0; i < dnaTables.
Count
; i++)
7495
if (csa == null || csa.
Count
== 0)
7499
int nDim = csa.
Count
;
7508
for (int j = 0; j < dnaRows.
Count
; j++)
7518
if (dnaCells.
Count
< nCount)
7520
nCount = dnaCells.
Count
;
7531
for (int k = 0; k < nCount && kCSA < dnaSpanCells.
Count
; k++)
7862
int nStartCount = _converterState.RtfFormatStack.
Count
;
7891
while (_converterState.RtfFormatStack.
Count
> 2 && _converterState.RtfFormatStack.
Count
> nStartCount)
8025
for (int i = 0; i < dna.
Count
; i++)
8045
while (dna.
Count
> 0)
8047
DocumentNode dnLast = dna.EntryAt(dna.
Count
- 1);
8051
dna.Excise(dna.
Count
- 1, 1);
8062
if (dna.
Count
> 0)
8064
DocumentNode dnLast = dna.EntryAt(dna.
Count
- 1);
8093
for (int i = 0; i < dna.
Count
; i++)
8127
for (int i = dna.
Count
- 1; i >= 0 && dnFieldBegin == null; i--)
8337
for (int i = nInsertAt; !bBlock && i < dna.
Count
; i++)
8825
dna.CloseAt(dna.
Count
- 1);
9018
if (_converterState.RtfFormatStack.
Count
> 2)
9896
int nNoOpValue = dna.
Count
;
9897
int nInsertAt = dna.
Count
; // Default insertion location
9908
&& nInsertAt + dn.ChildCount == dna.
Count
)
9935
int nInsertAt = dna.
Count
; // Default insertion location
9961
Debug.Assert(nInsertAt >= 0 && nChildren > 0 && nInsertAt + nChildren - 1 < dna.
Count
);
9989
for (int i = dna.
Count
- 1; i >= 0; i--)
10005
dna.Excise(dna.
Count
- nExcise, nExcise);
10139
for (int i = formats.
Count
- 1; i >= 0; i--)
10162
for (int i = formats.
Count
- 1; i >= 0; i--)
11172
Debug.Assert(dna.
Count
> 0 && dna.EntryAt(dna.
Count
- 1).Type == DocumentNodeType.dnParagraph);
11174
int nInsertAt = dna.
Count
- 1;
11196
nInsertAt = dna.
Count
- 1;
11229
for (int i = 0; i < mlHave.
Count
; i++)
11252
if (levels == null || levels.
Count
== 0)
11293
DocumentNode dnPara = dna.EntryAt(dna.
Count
- 1);
11329
int nLists = mlHave.
Count
;
11330
int nLevel = mlWant.
Count
;
11368
if (nMatch < mlCouldHave.
Count
&& mlCouldWant.
Count
> nMatch)
11385
if (dna.
Count
> 1 && dna.EntryAt(dna.
Count
- 2).Type == DocumentNodeType.dnListItem)
11597
dna.CloseAt(dna.
Count
- 1);
11622
dna.CloseAt(dna.
Count
- 1);
11628
dna.CloseAt(dna.
Count
- 1);
11629
dna.CoalesceChildren(_converterState, dna.
Count
- 1);
11702
for (; nMatch < mlHave.
Count
&& nMatch < mlWant.
Count
; nMatch++)
11728
int nLists = mlHave.
Count
;
11729
int nLevel = mlWant.
Count
;
11750
mlHave.RemoveRange(mlHave.
Count
- 1, 1);
11762
if (nLevel <= mlWant.
Count
)
11764
mlWant[nLists] = mlWant[mlWant.
Count
- 1];
11771
nInsertAt = dna.
Count
- 1;
11795
nInsertAt = dna.
Count
- 1;
11810
nInsertAt = dna.
Count
- 1;
src\Framework\System\Windows\Documents\Speller.cs (7)
788
if (segments.
Count
!= 0)
1224
if (segments.
Count
== 0)
1269
sTextRange = (SpellerInteropBase.ITextRange)segments[Math.Min(i, segments.
Count
-1)];
1336
sTextRange = (SpellerInteropBase.ITextRange)segments[segments.
Count
- 1];
1341
index = segments.
Count
;
1346
for (index = 0; index < segments.
Count
; index++)
1361
if (index < segments.
Count
- 1 &&
src\Framework\System\Windows\Documents\SpellerStatusTable.cs (12)
93
for (index = FindIndex(searchStart.CreateStaticPointer(), LogicalDirection.Forward); index >= 0 && index < _runList.
Count
; index++)
203
for (i = index+1; i < _runList.
Count
; i++)
342
maxIndex = _runList.
Count
;
489
if (index < _runList.
Count
- 1 && GetRun(index + 1).RunType == runType)
544
if (index < _runList.
Count
- 1 && GetRun(index + 1).RunType == run.RunType)
623
for (i = index; i < _runList.
Count
; i++)
638
if (index < _runList.
Count
)
645
if (index < _runList.
Count
&& GetRun(index).RunType == RunType.Dirty)
679
Invariant.Assert(_runList.
Count
>= 1, "Run list should never be empty!");
685
for (i = 0; i < _runList.
Count
; i++)
689
if (_runList.
Count
== 1)
762
if (index + 1 < _runList.
Count
)
src\Framework\System\windows\Documents\TextEditor.cs (1)
348
for (int i = 0; i < _registeredEditingTypes.
Count
; i++)
src\Framework\System\windows\Documents\TextEditorTyping.cs (1)
174
for (int i = 0; i < threadLocalStore.PendingInputItems.
Count
; i++)
src\Framework\System\Windows\Documents\TextStore.cs (8)
728
if (_preparedattributes.
Count
== 0)
748
if (_preparedattributes.
Count
== 0)
777
if (i >= _preparedattributes.
Count
)
1422
for (dwCookie = 0; dwCookie < _mouseSinks.
Count
; dwCookie++)
1436
if (_mouseSinks.
Count
== 1)
1453
for (i = 0; i < _mouseSinks.
Count
; i++)
1460
if (_mouseSinks.
Count
== 0)
2980
for (i = 0; (i < _mouseSinks.
Count
) && (eaten == false); i++)
src\Framework\System\Windows\Documents\XamlToRtfParser.cs (8)
121
if (xamlToRtfError == XamlToRtfError.None && _xamlTagStack.
Count
!= 0)
508
if (
Count
> 0)
510
RemoveAt(
Count
- 1);
516
if (
Count
== 0)
521
string top = (string)this[
Count
- 1];
594
length = (_xamlParsePoints.
Count
- 1) / 2;
629
int nLength = (_xamlParsePoints.
Count
- 1) / 2;
674
int nLength = (_xamlParsePoints.
Count
- 1) / 2;
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (56)
203
if (lltComputed.
Count
> i)
228
for (i = 0; i < dna.
Count
; i++)
233
Debug.Assert(openLists.
Count
> 0);
234
if (openLists.
Count
> 0)
236
openLists.RemoveRange(openLists.
Count
- 1, 1);
237
if (openLists.
Count
> 0)
239
DocumentNode dn1 = (DocumentNode)openLists[openLists.
Count
- 1];
279
if (bFirst && openLists.
Count
> 0)
282
DocumentNode dnList = (DocumentNode)openLists[openLists.
Count
- 1];
283
int iLevel = openLists.
Count
;
298
for (j = 0; j < listLevelTable.
Count
; j++)
308
if (j == listLevelTable.
Count
)
316
if (listLevelTable.
Count
> nListStyles)
318
nListStyles = listLevelTable.
Count
;
327
for (j = 0; j < openLists.
Count
; j++)
359
for (int i = 0; i < dna.
Count
; i++)
396
long[] openCounts = new long[dna.
Count
];
397
long[] openStarts = new long[dna.
Count
];
402
for (int i = 0; i < dna.
Count
; i++)
407
Debug.Assert(openLists.
Count
> 0);
408
if (openLists.
Count
> 0)
410
openLists.RemoveRange(openLists.
Count
- 1, 1);
411
if (openLists.
Count
> 0)
413
DocumentNode dn1 = (DocumentNode)openLists[openLists.
Count
- 1];
432
openCounts[openLists.
Count
- 1] = dn.FormatState.StartIndex - 1;
433
openStarts[openLists.
Count
- 1] = dn.FormatState.StartIndex;
438
Debug.Assert(openLists.
Count
> 0);
441
if (openLists.
Count
> 0)
443
openCounts[openLists.
Count
- 1] = openCounts[openLists.
Count
- 1] + 1;
447
if (dn.FormatState.ListLevel > 0 && openLists.
Count
> 0)
449
DocumentNode dnList = (DocumentNode)openLists[openLists.
Count
- 1];
450
long nCount = openCounts[openLists.
Count
- 1];
451
long nStart = openStarts[openLists.
Count
- 1];
464
for (int i = 0; i < dna.
Count
; i++)
501
for (int i = 0; i < dna.
Count
; i++)
533
for (i = 0; i < fontTable.
Count
; i++)
557
for (int i = 0; i < colorTable.
Count
; i++)
578
if (listTable.
Count
> 0)
583
for (int i = 0; i < listTable.
Count
; i++)
594
for (int j = 0; j < listLevelTable.
Count
; j++)
649
if (listOverrideTable.
Count
> 0)
653
for (int i = 0; i < listOverrideTable.
Count
; i++)
1471
if (cellArray.
Count
> 0)
1513
for (int i = 0; i < cellArray.
Count
; i++)
1527
for (int i = 0; i < cellArray.
Count
; i++)
1719
for (int cellIndex = 0; cellIndex < cellArray.
Count
; cellIndex++)
1755
for (int i = 0; i < dnaRows.
Count
; i++)
1761
for (int j = 0; j < dnaCells.
Count
; j++)
1767
while (nColExtra < spanCounts.
Count
&& ((int)spanCounts[nColExtra]) > 0)
1784
while (nColHere < spanCounts.
Count
&& ((int)spanCounts[nColHere]) > 0)
1798
if (nColHere < spanCounts.
Count
)
1822
while (nColExtra < spanCounts.
Count
)
1847
while (nColHere < spanCounts.
Count
)
1986
while (i < dna.
Count
)
3532
fontTableEntry = fontTable.DefineEntry(fontTable.
Count
+ 1);
src\Framework\System\Windows\FrameworkElement.cs (2)
1455
exactMatch = keys.
Count
;
1467
int bestMatch = keys.
Count
; // index of best match so far
src\Framework\System\Windows\Interop\HwndHost.cs (2)
136
if(_hooks.
Count
== 0)
1372
for(int i = 0, nCount = _hooks.
Count
; i < nCount; i++)
src\Framework\System\Windows\Markup\BamlMapTable.cs (14)
377
if (AttributeIdMap.
Count
> 0 || TypeIdMap.
Count
> 0)
388
for (int i=0; i<AttributeIdMap.
Count
; i++)
399
for (int j=0; j<TypeIdMap.
Count
; j++)
532
for (int i=0; i<AssemblyIdMap.
Count
; i++)
635
Debug.Assert(id < StringIdMap.
Count
);
1127
Debug.Assert(AssemblyIdMap.
Count
== record.AssemblyId ||
1131
if (AssemblyIdMap.
Count
== record.AssemblyId)
1279
Debug.Assert(TypeIdMap.
Count
== record.TypeId ||
1283
if (TypeIdMap.
Count
== record.TypeId)
1656
Debug.Assert(AttributeIdMap.
Count
== record.AttributeId ||
1660
if (AttributeIdMap.
Count
== record.AttributeId)
1672
Debug.Assert(StringIdMap.
Count
== record.StringId ||
1676
if (StringIdMap.
Count
== record.StringId)
src\Framework\System\Windows\Markup\BamlReader.cs (2)
208
get { return _properties.
Count
; }
394
if (_propertiesIndex < _properties.
Count
- 1)
src\Framework\System\Windows\Markup\BamlRecordReader.cs (5)
570
Debug.Assert(0 == ReaderContextStack.
Count
); // if not zero we missed an EndElement
1091
if (RootList.
Count
== 0)
1523
paramCount = paramList.
Count
;
4130
for (int i = contextStack.
Count
-1; i >= 0; i--)
4670
if (RootList.
Count
== 0)
src\Framework\System\Windows\Markup\BamlRecordWriter.cs (17)
362
((KeyDeferRecord)_deferKeys[_deferKeys.
Count
-1]).RecordList.Add(deferRecord);
506
KeyDeferRecord keyRecord = (KeyDeferRecord)(_deferKeys[_deferKeys.
Count
-1]);
546
for (int i = 0; i < record.RecordList.
Count
; i++)
581
KeyDeferRecord keyRecord = (KeyDeferRecord)(_deferKeys[_deferKeys.
Count
-1]);
616
KeyDeferRecord keyRecord = (KeyDeferRecord)(_deferKeys[_deferKeys.
Count
-1]);
850
KeyDeferRecord keyRecord = (KeyDeferRecord)(_deferKeys[_deferKeys.
Count
-1]);
853
Debug.Assert(keyRecord.RecordList.
Count
== 0, "Should have empty record list");
1182
KeyDeferRecord keyDeferRecord = ((KeyDeferRecord)_deferKeys[_deferKeys.
Count
-1]);
1506
((KeyDeferRecord)_deferKeys[_deferKeys.
Count
-1]).RecordList.Add(deferRec);
1540
for (int h = 0; h<_deferElement.
Count
; h++)
1559
for (int i = 0; i<_deferKeys.
Count
; i++)
1572
keyRecord.RecordList.
Count
> 0)
1574
for (int j = 0; j < keyRecord.RecordList.
Count
; j++)
1623
for (int j = 0; j<_deferValues.
Count
; j++)
1632
deferKeyRecord.RecordList.
Count
> 0)
1652
Debug.Assert(keyIndex == _deferKeys.
Count
,
1704
KeyDeferRecord keyDeferRecord = ((KeyDeferRecord)_deferKeys[_deferKeys.
Count
-1]);
src\Framework\System\Windows\Markup\BamlWriter.cs (2)
977
for (int i=0; i < _markupExtensionNodes.
Count
; i++)
1323
if (_nodeTypeStack.
Count
> 0)
src\Framework\System\Windows\Markup\MarkupExtensionParser.cs (22)
331
if (tokens.
Count
== 1)
337
if (tokens.
Count
== 3 &&
631
ArrayList xamlNodes = new ArrayList(markupExtensionList.
Count
* 5);
633
for (int i = 0; i<markupExtensionList.
Count
; i++)
804
(list.
Count
== 1 ||
805
(list.
Count
> 1 && !(list[1] is String) && ((Char)list[1] == ','))))
842
ArrayList xamlNodes = new ArrayList(complexDefAttributesList.
Count
* 5);
843
for (int i = 0; i<complexDefAttributesList.
Count
; i++)
880
(list.
Count
== 1 ||
881
(list.
Count
> 1 && !(list[1] is String) && ((Char)list[1] == ','))))
1114
else if (list.
Count
== 0)
1120
else if (list[list.
Count
- 1] is Char)
1134
parameterName = (string) list[list.
Count
- 1];
1154
else if (list.
Count
> 0 && (list[list.
Count
-1] is Char))
1254
if (list != null && listIndex < list.
Count
)
1264
for (; listIndex < list.
Count
; listIndex+=2)
1274
if (list.
Count
> (listIndex+1) &&
1362
if (list != null && listIndex < list.
Count
)
1364
ArrayList propertyNamesSoFar = new ArrayList(list.
Count
/4);
1366
for (int k = listIndex; k < list.
Count
; k+=4)
1369
if (k > (list.
Count
-3) ||
src\Framework\System\Windows\Markup\ParserStack.cs (11)
82
object o = this[
Count
- 1];
83
RemoveAt(
Count
- 1);
91
return this[
Count
- 1];
109
get { return
Count
> 0 ? this[
Count
- 1] : null; }
117
get { return
Count
> 1 ? this[
Count
- 2] : null; }
125
get { return
Count
> 2 ? this[
Count
- 3] : null; }
134
get { return
Count
> 3 ? this[
Count
- 4] : null; }
src\Framework\System\Windows\Markup\XamlStream.cs (2)
416
if (bufferArray.
Count
<= bufferIndex)
418
Debug.Assert(bufferArray.
Count
== bufferIndex,"Need to allocate more than one buffer");
src\Framework\System\Windows\Media\Animation\Generated\ThicknessAnimationUsingKeyFrames.cs (1)
859
for (int j = 0; j < unspecifiedBlocks.
Count
; j++)
src\Framework\System\Windows\Navigation\NavigationService.cs (10)
702
for (int i = ChildNavigationServices.
Count
- 1; i >= 0; i--)
1513
if (_recursiveNavigateList.
Count
> 0)
1517
return BindUriHelper.GetUriRelativeToPackAppBase((_recursiveNavigateList[_recursiveNavigateList.
Count
- 1] as NavigateQueueItem).Source);
2064
if (clearRecursiveNavigations && _recursiveNavigateList.
Count
> 0)
2098
for (; i < _childNavigationServices.
Count
; ++i)
2109
if (++i < _childNavigationServices.
Count
)
2111
for (; i < _childNavigationServices.
Count
; ++i)
2121
Debug.Assert(PendingNavigationList.
Count
== 0,
2336
Debug.Assert(PendingNavigationList.
Count
== 0,
2713
if (!(PendingNavigationList.
Count
== 0 && _navStatus == NavigationStatus.Navigated))
src\Framework\System\Windows\Window.cs (1)
3712
for (int i = 0; i < _threadWindowHandles.
Count
; i++)
src\Framework\System\Windows\WindowCollection.cs (4)
118
return _list.
Count
;
156
clone = new WindowCollection(_list.
Count
);
157
for (int i = 0; i < _list.
Count
; i++)
193
for (int i = 0; i < _list.
Count
; i++)
System (204)
compmod\system\codedom\CodeNamespaceImportCollection.cs (1)
53
return data.
Count
;
compmod\system\codedom\CodeTypeReference.cs (3)
227
for(int i = 0; i < typeArgumentList.
Count
; i++) {
241
else if( typeArgumentList.
Count
> 0 ) {
242
for( int i = 0; i < typeArgumentList.
Count
; i++) {
compmod\system\codedom\compiler\CodeDomConfigurationHandler.cs (2)
134
for (int i = 0; i < _allCompilerInfo.
Count
; i++) {
147
for (int i = _allCompilerInfo.
Count
- 1; i >= 0; i--) {
compmod\system\collections\specialized\nameobjectcollectionbase.cs (8)
158
int count = _entriesArray.
Count
;
358
for (int i = _entriesArray.
Count
-1; i >= 0; i--) {
368
for (int i = _entriesArray.
Count
-1; i >= 0; i--) {
497
return _entriesArray.
Count
;
514
if (array.Length - index < _entriesArray.
Count
) {
544
int n = _entriesArray.
Count
;
558
int n = _entriesArray.
Count
;
572
int n = _entriesArray.
Count
;
compmod\system\collections\specialized\namevaluecollection.cs (2)
138
int n = (list != null) ? list.
Count
: 0;
160
int n = (list != null) ? list.
Count
: 0;
compmod\system\collections\specialized\ordereddictionary.cs (4)
82
return objectsArray.
Count
;
163
if (index < 0 || index >= objectsArray.
Count
) {
246
for (int i = 0; i < objectsArray.
Count
; i++) {
480
return _objects.
Count
;
compmod\system\collections\specialized\stringcollection.cs (1)
39
return data.
Count
;
compmod\system\componentmodel\design\DesignerOptionService.cs (2)
169
return _children.
Count
;
237
if (index < 0 || index >= _children.
Count
) {
compmod\system\componentmodel\design\serialization\ContextStack.cs (7)
40
if (contextStack != null && contextStack.
Count
> 0) {
41
return contextStack[contextStack.
Count
- 1];
56
if (contextStack != null && level < contextStack.
Count
) {
57
return contextStack[contextStack.
Count
- 1 - level];
75
int level = contextStack.
Count
;
113
if (contextStack != null && contextStack.
Count
> 0) {
114
int idx = contextStack.
Count
- 1;
compmod\system\componentmodel\ExtendedPropertyDescriptor.cs (1)
47
Attribute[] temp = new Attribute[attrList.
Count
];
compmod\system\componentmodel\ListSortDescriptionCollection.cs (1)
136
return this.sorts.
Count
;
compmod\system\componentmodel\MemberDescriptor.cs (1)
125
this.attributes = new Attribute[ newArray.
Count
];
compmod\system\componentmodel\ReflectTypeDescriptionProvider.cs (3)
548
TypeDescriptor.Trace("Extenders : Allocating property collection for {0} properties", propertyList.
Count
);
549
PropertyDescriptor[] fullArray = new PropertyDescriptor[propertyList.
Count
];
1167
extendedProperties = new ReflectPropertyDescriptor[extendedList.
Count
];
compmod\system\componentmodel\TypeDescriptor.cs (3)
2804
Attribute[] attrArray = new Attribute[list.
Count
];
2810
PropertyDescriptor[] propArray = new PropertyDescriptor[list.
Count
];
2816
EventDescriptor[] eventArray = new EventDescriptor[list.
Count
];
compmod\system\diagnostics\SwitchAttribute.cs (1)
64
SwitchAttribute[] ret = new SwitchAttribute[switchAttribs.
Count
];
compmod\system\diagnostics\TraceListeners.cs (1)
59
return list.
Count
;
compmod\system\security\permissions\ResourcePermissionBase.cs (1)
494
for (int index = 0; index < securityElement.Children.
Count
; ++ index) {
net\System\Net\_AuthenticationManagerDefault.cs (3)
149
for (int i = 0; i < list.
Count
; ++i)
199
for (int i = 0; i < ModuleList.
Count
; i++)
450
for (int k = 0; k < moduleList.
Count
; k++)
net\System\Net\_Connection.cs (28)
545
return (m_ReadDone?0:1) + 2 * (m_WaitList.Count + m_WriteList.
Count
) + m_ReservedCount;
674
GlobalLog.Print("Connection#" + ValidationHelper.HashString(this) + "::SubmitRequest WriteDone:" + m_WriteDone.ToString() + ", ReadDone:" + m_ReadDone.ToString() + ", m_WriteList.Count:" + m_WriteList.
Count
.ToString());
698
if (m_Free && m_WriteDone && (m_WriteList.
Count
== 0 || (request.Pipelined && !request.HasEntityBody && m_CanPipeline && m_Pipelining && !m_IsPipelinePaused && !forcedsubmit))) {
710
Debug.Assert(m_WriteList.
Count
== 0);
840
" WriteList:" + m_WriteList.
Count
);
845
if (m_WriteList.
Count
== 0)
890
m_IsPipelinePaused = m_WriteList.
Count
>= s_MaxPipelinedCount;
900
GlobalLog.Print(m_WriteList.
Count
+" requests queued");
1028
m_IsPipelinePaused = m_WriteList.
Count
> s_MinPipelinedCount;
1031
if (m_WriteList.
Count
!= 0) {
1234
GlobalLog.Print("Connection#" + ValidationHelper.HashString(this) + "::WriteStartNextRequest() m_WriteList.Count:" + m_WriteList.
Count
);
1268
GlobalLog.Print("Connection#" + ValidationHelper.HashString(this) + "::WriteStartNextRequest() Non-Error m_WriteList.Count:" + m_WriteList.
Count
+ " m_WaitList.Count:" + m_WaitList.Count);
1311
GlobalLog.Enter("Connection#" + ValidationHelper.HashString(this) + "::WriteStartNextRequest" + " WriteDone:" + m_WriteDone + " ReadDone:" + m_ReadDone + " WaitList:" + m_WaitList.Count + " WriteList:" + m_WriteList.
Count
);
1369
GlobalLog.Enter("Connection#" + ValidationHelper.HashString(this) + "::ReadStartNextRequest" + " WriteDone:" + m_WriteDone + " ReadDone:" + m_ReadDone + " WaitList:" + m_WaitList.Count + " WriteList:" + m_WriteList.
Count
);
1384
if (m_WriteList.
Count
> 0 && (object)currentRequest == m_WriteList[0])
1393
GlobalLog.Print("Connection#" + ValidationHelper.HashString(this) + "::ReadStartNextRequest() Removed request#" + ValidationHelper.HashString(currentRequest) + " from m_WriteList. New m_WriteList.Count:" + m_WriteList.
Count
.ToString());
1397
GlobalLog.Print("Connection#" + ValidationHelper.HashString(this) + "::ReadStartNextRequest() The request#" + ValidationHelper.HashString(currentRequest) + " was disassociated so do nothing. m_WriteList.Count:" + m_WriteList.
Count
.ToString());
1454
if (m_WriteList.
Count
!= 0)
1567
if (m_WriteList.
Count
== 0)
2549
if (m_WriteList.
Count
== 0 || ((m_CurrentRequest = m_WriteList[0] as HttpWebRequest) == null))
2770
GlobalLog.Print("Connection#" + ValidationHelper.HashString(this) + "::ParseResponseData()" + " WriteDone:" + m_WriteDone + " ReadDone:" + m_ReadDone + " WaitList:" + m_WaitList.Count + " WriteList:" + m_WriteList.
Count
);
2934
if (m_WriteList.
Count
!= 0 || m_WaitList.Count != 0)
2937
GlobalLog.Print("Connection#" + ValidationHelper.HashString(this) + "::PrepareCloseConnectionSocket() m_WriteList.Count:" + m_WriteList.
Count
);
2987
if (m_WriteList.
Count
!= 0)
3055
if (m_WriteList.
Count
!= 1)
3086
requestArray = new HttpWebRequest[m_WriteList.
Count
];
3182
GlobalLog.Print("Connection#" + ValidationHelper.HashString(this) + "::HandleError() m_WriteList.Count:" + m_WriteList.
Count
+
3888
for (int i = 0; i < m_WriteList.
Count
; i++)
net\System\Net\_ConnectionGroup.cs (5)
66
return m_ConnectionList.
Count
;
268
GlobalLog.Print("ConnectionGroup#" + ValidationHelper.HashString(this) + "::DisableKeepAliveOnConnections() Name = " + m_Name + ", Count:" + m_ConnectionList.
Count
);
364
GlobalLog.Print("ConnectionGroup::FindConnectionAuthenticationGroup [" + connName + "] for request#" + request.GetHashCode() +", m_ConnectionList.Count:" + m_ConnectionList.
Count
.ToString());
466
GlobalLog.Print("ConnectionGroup::FindConnection [" + connName + "] m_ConnectionList.Count:" + m_ConnectionList.
Count
.ToString());
517
GlobalLog.Print("ConnectionGroup::FindConnection, closed connections to remove: " + closedConnections.
Count
.ToString());
net\System\Net\_SecureChannel.cs (3)
686
Logging.PrintInfo(Logging.Web, this, SR.GetString(SR.net_log_n_certs_after_filtering, filteredCerts.
Count
));
687
if (filteredCerts.
Count
!= 0)
698
for (int i=0; i < filteredCerts.
Count
; ++i)
net\System\Net\_TLSstream.cs (6)
446
if (m_PendingIO.
Count
== 0)
509
if(m_PendingIO.
Count
> 1)
589
while(m_PendingIO.
Count
!= 0)
591
LazyAsyncResult lazyResult = (LazyAsyncResult )m_PendingIO[m_PendingIO.
Count
-1];
593
m_PendingIO.RemoveAt(m_PendingIO.
Count
-1);
597
if (m_PendingIO.
Count
== 0)
net\System\Net\_WebProxyDataBuilder.cs (2)
255
GlobalLog.Print("WebProxyDataBuilder::ParseBypassList() bypassList.Count:" + bypassList.
Count
+ " adding:" + ValidationHelper.ToString(trimmedBypassString));
258
GlobalLog.Print("WebProxyDataBuilder::ParseBypassList() bypassList.Count:" + bypassList.
Count
+ " added:" + ValidationHelper.ToString(trimmedBypassString));
net\System\Net\Cache\_Rfc2616CacheValidators.cs (8)
1343
if (varyValues.
Count
== 0) {
1369
for (int i = 0; i < varyValues.
Count
; ++i) {
1387
if (requestFields.
Count
!= cacheFields.
Count
) {
1393
for (int j = 0; j < cacheFields.
Count
; ++j) {
1784
if (varyValues.
Count
!= 0 && ((string)(varyValues[0]))[0] != '*') {
1788
ctx.SystemMeta = new NameValueCollection(varyValues.
Count
+1, CaseInsensitiveAscii.StaticInstance);
1790
for (int i = 0; i < varyValues.
Count
; ++i) {
net\System\Net\Cache\_SingleItemRequestCache.cs (1)
568
for (int i = 0; i < _Buffers.
Count
; ++i)
net\System\Net\Cache\HttpRequestCacheValidator.cs (5)
950
if (privateList.
Count
!= 0) {
980
if (nocacheList.
Count
!= 0) {
1069
if (privateList.
Count
!= 0) {
1097
if (nocacheList.
Count
!= 0) {
1164
for (int i=0; i < remainingWarnings.
Count
; ++i) {
net\System\Net\connectionpool.cs (2)
407
m_TotalObjects = m_ObjectList.
Count
;
436
m_TotalObjects = m_ObjectList.
Count
;
net\System\Net\cookiecollection.cs (3)
71
if (index < 0 || index >= m_list.
Count
) {
133
return m_list.
Count
;
217
if (idx == m_list.
Count
) {
net\System\Net\DNS.cs (3)
123
HostEntry.AddressList = new IPAddress[TempList.
Count
];
158
HostEntry.Aliases = new string[TempList.
Count
];
1182
hostinfo.AddressList = new IPAddress[addresses.
Count
];
net\System\Net\HttpListener.cs (4)
1896
SendError(requestId, challenges != null && challenges.
Count
> 0 ? HttpStatusCode.Unauthorized : HttpStatusCode.Forbidden, challenges);
2346
httpResponse.Headers.UnknownHeaderCount = checked((ushort) (challenges == null ? 0 : challenges.
Count
));
2623
for (int i = 0; i < digestsToClose.
Count
; i++)
2664
for (int k = 0; k < toClose[j].
Count
; k++)
net\System\Net\HttpListenerRequest.cs (1)
1315
int n = values.
Count
;
net\System\Net\mail\SmtpAuthenticationManager.cs (2)
79
ISmtpAuthenticationModule[] copy = new ISmtpAuthenticationModule[modules.
Count
];
80
modules.CopyTo(0, copy, 0, modules.
Count
);
net\System\Net\mail\SmtpFailedRecipientsException.cs (3)
55
innerExceptions != null && innerExceptions.
Count
> 0 ? ((SmtpFailedRecipientException) innerExceptions[0]).FailedRecipient : null,
56
innerExceptions != null && innerExceptions.
Count
> 0 ? (SmtpFailedRecipientException) innerExceptions[0] : null)
63
this.innerExceptions = new SmtpFailedRecipientException[innerExceptions.
Count
];
net\System\Net\mail\SmtpTransport.cs (13)
331
if (failedRecipientExceptions.
Count
> 0)
333
if (failedRecipientExceptions.
Count
== 1)
339
exception = new SmtpFailedRecipientsException(failedRecipientExceptions, failedRecipientExceptions.
Count
== recipients.Count);
342
if (failedRecipientExceptions.
Count
== recipients.Count){
470
if (thisPtr.failedRecipientExceptions.
Count
== thisPtr.toCollection.Count)
504
if (failedRecipientExceptions.
Count
> 1)
506
InvokeCallback(new SmtpFailedRecipientsException(failedRecipientExceptions, failedRecipientExceptions.
Count
== toCollection.Count));
508
else if (failedRecipientExceptions.
Count
== 1)
527
if (thisPtr.failedRecipientExceptions.
Count
> 1)
529
thisPtr.InvokeCallback(new SmtpFailedRecipientsException(thisPtr.failedRecipientExceptions, thisPtr.failedRecipientExceptions.
Count
== thisPtr.toCollection.Count));
531
else if (thisPtr.failedRecipientExceptions.
Count
== 1)
550
if (failedRecipientExceptions.
Count
== 1)
554
else if (failedRecipientExceptions.
Count
> 1)
net\System\Net\SocketPermission.cs (14)
327
for (int i = 0; i < m_connectList.
Count
; i++) {
330
for (int i = 0; i < m_acceptList.
Count
; i++) {
367
result.m_connectList.
Count
== 0 && result.m_acceptList.
Count
== 0) {
379
return (m_noRestriction == false && m_connectList.
Count
== 0 && m_acceptList.
Count
== 0);
391
} else if (this.m_acceptList.
Count
+ this.m_connectList.
Count
==0) {
393
} else if (other.m_acceptList.
Count
+ other.m_connectList.
Count
==0) {
593
if (m_connectList.
Count
> 0) {
607
if (m_acceptList.
Count
> 0) {
640
bool[] aDone=new bool[A.
Count
]; //used to avoid duplicates in result
641
bool[] bDone=new bool[B.
Count
];
net\System\Net\WebHeaderCollection.cs (1)
821
string[] ReturnArray = new string[ValueList.
Count
];
net\System\Net\WebPermission.cs (18)
271
ArrayList cloned = new ArrayList(m_connectList.
Count
);
273
for (int i = 0; i < m_connectList.
Count
; ++i)
294
ArrayList cloned = new ArrayList(m_acceptList.
Count
);
296
for (int i = 0; i < m_acceptList.
Count
; ++i)
544
return !m_noRestriction && !m_UnrestrictedConnect && !m_UnrestrictedAccept && m_connectList.
Count
== 0 && m_acceptList.
Count
== 0;
574
else if (m_acceptList.
Count
!= 0)
576
if (other.m_acceptList.
Count
== 0)
599
else if (m_connectList.
Count
!= 0)
601
if (other.m_connectList.
Count
== 0)
679
for (int i = 0; i < m_connectList.
Count
; i++) {
699
for (int i = 0; i < m_acceptList.
Count
; i++) {
767
result.m_connectList.
Count
== 0 && result.m_acceptList.
Count
== 0) {
906
if (m_UnrestrictedConnect || m_connectList.
Count
> 0)
938
if (m_UnrestrictedAccept || m_acceptList.
Count
> 0)
1027
bool[] aDone = new bool[A.
Count
];
1028
bool[] bDone = new bool[B.
Count
];
net\System\Net\webproxy.cs (4)
309
if ( bypassList != null && bypassList.
Count
> 0 ) {
310
regExBypassList = new Regex[bypassList.
Count
];
311
for (int i = 0; i < bypassList.
Count
; i++ ) {
336
for (int i = 0; i < _BypassList.
Count
; i++ ) {
net\System\Net\WebRequest.cs (2)
152
for (int i = 0; i < prefixList.
Count
; i++) {
402
while (i < prefixList.
Count
) {
regex\system\text\regularexpressions\RegexMatchCollection.cs (4)
71
if (_matches.
Count
> i)
92
} while (_matches.
Count
<= i);
105
return _matches.
Count
;
109
return _matches.
Count
;
security\system\security\cryptography\asnencodeddata.cs (1)
151
return m_list.
Count
;
security\system\security\cryptography\oid.cs (1)
168
return m_list.
Count
;
security\system\security\cryptography\x509\x509extension.cs (2)
626
if (index >= m_list.
Count
)
651
return m_list.
Count
;
services\monitoring\system\diagnosticts\EventLog.cs (1)
743
string[] newsourcesArray = new string[newsources.
Count
];
services\monitoring\system\diagnosticts\EventLogInternal.cs (1)
1395
if (info.listeningComponents.
Count
!= 0)
services\monitoring\system\diagnosticts\Process.cs (2)
1052
int count = processInfo.threadInfoList.
Count
;
1567
Process[] temp = new Process[list.
Count
];
services\monitoring\system\diagnosticts\ProcessManager.cs (5)
398
for (int i = 0; i < threadInfos.
Count
; i++) {
459
ModuleInfo[] temp = new ModuleInfo[moduleInfos.
Count
];
721
ModuleInfo[] temp = new ModuleInfo[moduleInfos.
Count
];
823
NativeMethods.PERF_COUNTER_DEFINITION[] counters = new NativeMethods.PERF_COUNTER_DEFINITION[counterList.
Count
];
876
for (int i = 0; i < threadInfos.
Count
; i++) {
services\monitoring\system\diagnosticts\ProcessStartInfo.cs (1)
317
string[] temp = new string[verbs.
Count
];
services\monitoring\system\diagnosticts\SharedPerformanceCounter.cs (10)
209
totalSize = CategoryEntrySize + InstanceEntrySize + (CounterEntrySize * categoryData.CounterNames.
Count
) + categoryNameLength;
210
for (int i=0; i<categoryData.CounterNames.
Count
; i++) {
262
nextPtr += CounterEntrySize * categoryData.CounterNames.
Count
;
295
for (int i=1; i<categoryData.CounterNames.
Count
; i++) {
328
int totalSize = InstanceEntrySize + (CounterEntrySize * categoryData.CounterNames.
Count
);
352
for (int i=0; i<categoryData.CounterNames.
Count
; i++) {
368
nextPtr += CounterEntrySize * categoryData.CounterNames.
Count
;
400
for (int i=1; i<categoryData.CounterNames.
Count
; i++) {
416
for (int i=0; i<categoryData.CounterNames.
Count
; i++) {
926
int totalSize = InstanceEntrySize + ProcessLifetimeEntrySize + InstanceNameSlotSize + (CounterEntrySize * categoryData.CounterNames.
Count
);
sys\system\configuration\SettingsPropertyValueCollection.cs (3)
72
if (ipos >= _Values.
Count
)
101
if (ipos >= _Values.
Count
)
144
public int Count { get { return _Values.
Count
; } }
System.Activities.Presentation (3)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyEntry.cs (3)
920
for (int i = 1; i < _parent._properties.Count && _standardValues.
Count
> 0; i++)
929
if (nextSetOfValues == null || nextSetOfValues.
Count
== 0)
936
for (int j = 0; j < _standardValues.
Count
; j++)
System.Configuration (23)
System\Configuration\BaseConfigurationRecord.cs (2)
379
while (i < _parent._locationSections.
Count
) {
3791
&& (_locationSections == null || _locationSections.
Count
== 0);
System\Configuration\ConfigurationElement.cs (1)
451
if (errorsList.
Count
== 0) {
System\Configuration\ConfigurationElementCollection.cs (5)
413
return _items.
Count
- _removedItemCount;
484
for (int index = 0; index < _items.
Count
; index++) {
625
if (index > _items.
Count
) {
912
for (int CheckIndex = 0; CheckIndex < _items.
Count
; CheckIndex++) {
919
for (int RemoveIndex = _items.
Count
- 1; RemoveIndex >= 0; RemoveIndex--) {
System\Configuration\ConfigurationErrorsException.cs (3)
101
this((ConfigurationException) (coll.
Count
> 0 ? coll[0] : null)) {
103
if (coll.
Count
> 1) {
104
_errors = new ConfigurationException[coll.
Count
];
System\Configuration\ConfigurationPropertyCollection.cs (4)
18
return _items.
Count
;
54
for (int index = 0; index < _items.
Count
; index++) {
65
for (int index = 0; index < _items.
Count
; index++) {
81
for (int index = 0; index < _items.
Count
; index++) {
System\Configuration\elementinformation.cs (2)
161
count = arrayList.
Count
;
164
exceptionList = new ConfigurationException[arrayList.
Count
];
System\Configuration\MgmtConfigurationRecord.cs (2)
899
while (i < _locationSections.
Count
) {
2054
while (i < _locationSections.
Count
) {
System\Configuration\SectionUpdates.cs (4)
257
if (unretrievedGroups.
Count
== 0)
260
string[] groupNames = new string[unretrievedGroups.
Count
];
280
if (newsGroups.
Count
== 0)
283
string[] groupNames = new string[newsGroups.
Count
];
System.Data (88)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Model\ModelPropertyEntry.cs (3)
920
for (int i = 1; i < _parent._properties.Count && _standardValues.
Count
> 0; i++)
929
if (nextSetOfValues == null || nextSetOfValues.
Count
== 0)
936
for (int j = 0; j < _standardValues.
Count
; j++)
fx\src\data\System\Data\BaseCollection.cs (1)
33
return List.
Count
;
fx\src\data\System\Data\CodeGen\datacache.cs (3)
89
if (errorList.
Count
> 0) {
443
DataColumn[] index = new DataColumn[parameterColumnList.
Count
];
1084
CodeStatement[] schemaBodyArray = new CodeStatement[schemaBody.
Count
];
fx\src\data\System\Data\CodeGen\StrongTypingException.cs (2)
105
info.AddValue(KEY_ARRAYCOUNT, errorList.
Count
);
106
for (int i = 0; i < errorList.
Count
; i++) {
fx\src\data\System\Data\Common\DBDataPermission.cs (1)
180
bool flag = (!IsUnrestricted() && !AllowBlankPassword && ((null == keyvalues) || (0 == keyvalues.
Count
)));
fx\src\data\System\Data\ConstraintCollection.cs (11)
57
if (index >= 0 && index < List.
Count
) {
400
int oldLength = List.
Count
;
402
Constraint[] constraints = new Constraint[List.
Count
];
445
if (array.Length - index < list.
Count
)
447
for(int i = 0; i < list.
Count
; ++i) {
456
int constraintCount = List.
Count
;
468
int constraintCount = List.
Count
;
482
int constraintCount = List.
Count
;
495
int constraintCount = List.
Count
;
558
int constraintCount = List.
Count
;
600
int constraintCount = List.
Count
;
fx\src\data\System\Data\DataColumnCollection.cs (10)
130
if (_list.Capacity < capacity + _list.
Count
) {
131
_list.Capacity = capacity + _list.
Count
;
270
column.SetOrdinalInternal(_list.
Count
- 1);
283
int count = _list.
Count
;
540
int oldLength = _list.
Count
;
542
DataColumn[] columns = new DataColumn[_list.
Count
];
605
if (array.Length - index < _list.
Count
)
607
for(int i = 0; i < _list.
Count
; ++i) {
618
int columnCount = _list.
Count
;
704
int count = _list.
Count
;
fx\src\data\System\Data\DataRelationCollection.cs (9)
276
if (array.Length - index < alist.
Count
)
278
for(int i = 0; i < alist.
Count
; ++i) {
289
int relationCount = List.
Count
;
313
int count = List.
Count
;
520
if (index >= 0 && index < relations.
Count
)
594
for (int i = 0; i < relations.
Count
; i++) {
669
if (index >= 0 && index < relations.
Count
)
703
for (int i = 0; i < relations.
Count
; i++) {
755
for (int i = 0; i < relations.
Count
; i++) {
fx\src\data\System\Data\DataTableCollection.cs (13)
113
for (int i = 0; i < _list.
Count
; i++) {
126
for (int i = 0; i < _list.
Count
; i++) {
433
int oldLength = _list.
Count
;
434
DataTable[] tables = new DataTable[_list.
Count
];
477
int count = _list.
Count
;
493
int count = _list.
Count
;
507
if (array.Length - index < _list.
Count
)
509
for(int i = 0; i < _list.
Count
; ++i) {
520
int tableCount = _list.
Count
;
557
Debug.Assert(_list.
Count
== tableList.Count, "Both lists should have equal numbers of tables");
570
int count = _list.
Count
;
602
int count = _list.
Count
;
671
int tableCount = _list.
Count
;
fx\src\data\System\Data\Odbc\OdbcErrorCollection.cs (1)
32
return _items.
Count
;
fx\src\data\System\Data\OleDb\OleDbErrorCollection.cs (1)
49
return ((null != items) ? items.
Count
: 0);
fx\src\data\System\Data\SqlClient\SqlBulkCopy.cs (1)
83
return _rowset.
Count
;
fx\src\data\System\Data\SqlClient\SqlErrorCollection.cs (1)
34
get { return this.errors.
Count
;}
fx\src\data\System\Data\XMLDiffLoader.cs (3)
225
for(int i = 0; i < dt.
Count
; i++) {
260
if (tables.
Count
== 0)
263
for(int i = 0; i < tables.
Count
; i++) {
fx\src\data\System\Data\xmlsaver.cs (20)
288
for (int i = 0; i < tables.
Count
; i++) {
369
for(int i = 0; i < dt.
Count
; i++) {
436
for (int i = 0; i < _tables.
Count
; i++) {
455
if (topTables.
Count
== 0)
457
DataTable[] temp = new DataTable[topTables.
Count
];
655
if (ds != null && _tables.
Count
> 0) { // we need to make sure we want to write relation just for tables in list
661
else if (writeHierarchy && _tables.
Count
> 0 ) {
663
rels = new DataRelation[_relations.
Count
];
1781
if (_tables.
Count
> 0) {
2011
for (int i = 0; i < tables.
Count
; i++) {
2015
for (int i = 0; i < tables.
Count
; i++) {
2025
for (int i = 0; i < _tables.
Count
; i++) {
2058
for(int i = 0; i < _tables.
Count
; i++) {
2072
for(int i = 0; i < _tables.
Count
; i++) {
2365
for (int i = 0; i < _dTables.
Count
; i++) {
2384
if (topTables.
Count
== 0)
2386
DataTable[] temp = new DataTable[topTables.
Count
];
2439
for(int i = 0; i < _dTables.
Count
; i++) {
2487
for(int i = 0; i < _dTables.
Count
; i++) {
2504
for(int i = 0; i < _dTables.
Count
; i++) {
fx\src\data\System\Data\XMLSchema.cs (2)
692
for(int i=0; i<ColumnExpressions.
Count
; i++) {
1020
DataColumn [] key = new DataColumn[keyColumns.
Count
];
fx\src\data\System\Data\XmlToDatasetMap.cs (2)
342
this.tableSchemaMap = new XmlNodeIdHashtable( tableList.
Count
);
391
while (nCounter < tableList.
Count
) {
fx\src\data\System\NewXml\XmlDataDocument.cs (4)
70
for (int i = 0; i < al.
Count
; i++ ) {
1453
if ( columnChangeList.
Count
> 0 ) {
2412
while ( rowElemList.
Count
> 0 ) {
2436
while ( rowElemList.
Count
> 0 ) {
System.Data.Services (1)
System\Data\Services\Serializers\JsonReader.cs (1)
225
if (array.
Count
!= 0)
System.Data.SqlXml (64)
System\Xml\Xsl\IlGen\XmlILConstructAnalyzer.cs (2)
792
for (idx = 0; idx < this.dupAttrs.
Count
; idx++) {
801
if (idx >= this.dupAttrs.
Count
) {
System\Xml\Xsl\IlGen\XmlILOptimizerVisitor.cs (1)
4330
isUsed = XmlILConstructInfo.Read(nd).CallersInfo.
Count
!= 0;
System\Xml\Xsl\QIL\SubstitutionList.cs (4)
40
s.RemoveRange(s.
Count
- 2, 2);
50
s.RemoveRange(s.
Count
- n, n);
60
Debug.Assert(s.
Count
% 2 == 0);
61
for (int i = s.
Count
-2; i >= 0; i-=2)
System\Xml\Xsl\Runtime\WhitespaceRuleLookup.cs (1)
92
for (int pos = this.wildcards.
Count
; pos-- != 0;) {
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (1)
850
for (int i = 0; i < docIndexes.
Count
; i += 2) {
System\Xml\Xsl\XsltOld\ActionFrame.cs (2)
129
Debug.Assert(0 < sortarray.
Count
);
130
int numSorts = sortarray.
Count
;
System\Xml\Xsl\XsltOld\ApplyTemplatesAction.cs (2)
129
if (this.containedActions != null && this.containedActions.
Count
> 0) {
146
if (processor.SortArray.
Count
!= 0) {
System\Xml\Xsl\XsltOld\Avt.cs (2)
28
this.events = new TextEvent[eventList.
Count
];
29
for(int i = 0; i < eventList.
Count
; i ++) {
System\Xml\Xsl\XsltOld\CallTemplateAction.cs (1)
80
if (this.containedActions != null && this.containedActions.
Count
> 0) {
System\Xml\Xsl\XsltOld\Compiler.cs (1)
965
Debug.Assert(!constant || list.
Count
<= 1, "We can't have more then 1 text event if now {avt} found");
System\Xml\Xsl\XsltOld\ContainerAction.cs (5)
194
for (int i = imports.
Count
- 1; 0 <= i; i --) { // Imports should be compiled in reverse order
798
if (this.containedActions != null && this.containedActions.
Count
> 0) {
820
if (this.containedActions != null && actionIndex < this.containedActions.
Count
) {
843
int count = this.containedActions.
Count
;
844
for(int i= 0; i < this.containedActions.
Count
; i++) {
System\Xml\Xsl\XsltOld\CopyCodeAction.cs (5)
36
int count = this.copyEvents.
Count
;
44
Debug.Assert(this.copyEvents != null && this.copyEvents.
Count
> 0);
56
Debug.Assert(frame.Counter < this.copyEvents.
Count
);
64
if (frame.IncrementCounter() >= this.copyEvents.
Count
) {
77
Debug.Assert(frame.Counter < this.copyEvents.
Count
);
System\Xml\Xsl\XsltOld\DbgCompiler.cs (3)
82
for(int i = 0; i < globalVars.
Count
; i ++) {
105
Debug.Assert(count <= this.localVars.
Count
, "This scope can't have more variables than we have in total");
107
this.localVars.RemoveRange(this.localVars.
Count
- count, count);
System\Xml\Xsl\XsltOld\ForeachAction.cs (1)
65
Debug.Assert(processor.SortArray.
Count
!= 0);
System\Xml\Xsl\XsltOld\NewInstructionAction.cs (1)
54
if (this.containedActions != null && this.containedActions.
Count
> 0) {
System\Xml\Xsl\XsltOld\NumberAction.cs (2)
460
int numberlistCount = numberlist.
Count
;
487
for (int i = 0; i < numberlist.
Count
; i++) {
System\Xml\Xsl\XsltOld\ReaderOutput.cs (1)
513
Debug.Assert(0 <= attrib && attrib < this.attributeList.
Count
);
System\Xml\Xsl\XsltOld\RecordBuilder.cs (5)
233
Debug.Assert(this.attributeCount <= this.attributeList.
Count
);
280
if (this.attributeCount >= this.attributeList.
Count
) {
281
Debug.Assert(this.attributeCount == this.attributeList.
Count
);
629
if (this.namespaceCount >= this.namespaceList.
Count
) {
630
Debug.Assert(this.namespaceCount == this.namespaceList.
Count
);
System\Xml\Xsl\XsltOld\RootAction.cs (3)
47
for(int i=0; i < keyNodes.
Count
; i++) {
149
for(int src = srcAttList.
Count
- 1; 0 <= src; src --) {
235
if (this.containedActions != null && this.containedActions.
Count
> 0) {
System\Xml\Xsl\XsltOld\SequentialOutput.cs (2)
360
for(int record = 0; record < this.outputCache.
Count
; record ++) {
605
Debug.Assert(count <= list.
Count
);
System\Xml\Xsl\XsltOld\Stylesheet.cs (11)
83
for (int i= 0; i < this.whitespaceList.
Count
; i++ ) {
84
for(int j = this.whitespaceList.
Count
- 1; j > i; j--) {
97
for (int importIndex = this.imports.
Count
- 1; importIndex >= 0; importIndex --) {
110
for (int i = this.whitespaceList.
Count
- 1; 0 <= i; i --) {
118
for (int importIndex = this.imports.
Count
- 1; importIndex >= 0; importIndex --) {
202
for (int importIndex = this.imports.
Count
- 1; importIndex >= 0; importIndex --) {
223
for(int i=0 ; i< manager.templates.
Count
; i++) {
238
for (int importIndex = this.imports.
Count
- 1; importIndex >= 0; importIndex --) {
281
for (int importIndex = this.imports.
Count
- 1; importIndex >= 0; importIndex --) {
344
for (int importIndex = this.imports.
Count
- 1; importIndex >= 0; importIndex --) {
372
for (int importIndex = this.imports.
Count
- 1; importIndex >= 0; importIndex --) {
System\Xml\Xsl\XsltOld\TemplateAction.cs (1)
209
if (this.containedActions != null && this.containedActions.
Count
> 0) {
System\Xml\Xsl\XsltOld\Templatemanager.cs (1)
80
for (int templateIndex = this.templates.
Count
- 1; templateIndex >= 0 ; templateIndex --) {
System\Xml\Xsl\XsltOld\WriterOutput.cs (1)
93
Debug.Assert(list.
Count
>= count);
System\Xml\Xsl\XsltOld\XsltCompileContext.cs (5)
279
value.ComparePosition((XPathNavigator) list[list.
Count
- 1]) != XmlNodeOrder.Before,
285
if (value.ComparePosition((XPathNavigator) list[list.
Count
- 1]) == XmlNodeOrder.Same) {
290
value.ComparePosition((XPathNavigator) list[list.
Count
- 1]) != XmlNodeOrder.Same,
755
Debug.Assert(resultCollection.
Count
!= 0);
756
Debug.Assert(newList.
Count
!= 0);
System.Drawing (5)
commonui\System\Drawing\ColorConverter.cs (2)
373
int count = arrayValues.
Count
;
388
arrayValues.Sort(0, arrayValues.
Count
, new ColorComparer());
commonui\System\Drawing\Design\ToolboxItem.cs (1)
379
IComponent[] temp = new IComponent[comps.
Count
];
misc\ClientUtils.cs (2)
405
for( int idx = 0; idx < this.InnerList.
Count
; idx++ ) {
431
public int Count { get { return InnerList.
Count
; } }
System.Management (30)
Instrumentation\EventSource.cs (1)
272
if (reqList.
Count
> 0)
InteropClasses\WMIInterop.cs (1)
2054
if (reqList.
Count
> 0)
WmiGenerator.cs (28)
1855
if (Values.
Count
> 0 && (ValueMap.
Count
== 0 || ValueMap.
Count
== Values.
Count
))
1857
if (ValueMap.
Count
== 0)
1881
for (int i = 0; i < Values.
Count
; i++)
1886
if (ValueMap.
Count
> 0)
1959
if (BitValues.
Count
> 0 && (BitMap.
Count
== 0 || BitMap.
Count
== BitValues.
Count
))
1961
if(BitMap.
Count
== 0)
1986
for (int i = 0; i < BitValues.
Count
; i++)
1990
if (BitMap.
Count
> 0)
2035
if (BitValues.
Count
> 30)
2091
for(int i=0; i < arrKeys.
Count
;i++)
2111
for(int i=0; i < arrKeys.
Count
;i++)
2192
if (arrKeyType.
Count
> 0)
2201
for(int i=0; i < arrKeys.
Count
;i++)
2226
for(int i=0; i < arrKeys.
Count
;i++)
2258
if (arrKeyType.
Count
> 0)
2260
for(int i=0; i < arrKeys.
Count
;i++)
2287
for(int i=0; i < arrKeys.
Count
;i++)
2984
for(int i=0; i < outParamsName.
Count
;i++)
3073
for(int i=0; i < inoutParams.
Count
;i++)
3223
for(int i=0;i < inoutParams.
Count
;i++)
4891
for( int i = 0 ; i < arrIn.
Count
; i++)
4917
for (int i=0; i < arrToSearch.
Count
; i++)
System.Messaging (3)
System\Messaging\MessageQueue.cs (2)
1713
MessageQueue[] queues = new MessageQueue[messageQueuesList.
Count
];
1877
Message[] resultMessages = new Message[messageList.
Count
];
System\Messaging\MessageQueuePermission.cs (1)
164
for (int index = 0; index < securityElement.Children.
Count
; ++index)
System.Runtime.Remoting (149)
metadata\metadata.cs (3)
167
String[] sourceTexts = new String[outCodeStreamList.
Count
];
168
String[] sourceTextNames = new String[outCodeStreamList.
Count
];
172
for(int item=0;item<outCodeStreamList.
Count
;item++)
metadata\wsdlparser.cs (96)
173
if (parsingComplexType.Fields.
Count
> 0)
915
for (int i=0;i<_URTNamespaces.
Count
;i++)
1546
if (wsdlBindings.
Count
== 0)
1554
if (binding.suds != null && binding.suds.
Count
> 0)
1872
for (int i=0; i<binding.operations.
Count
; i++)
1926
if ((portType == null) || (portType.operations.
Count
!= binding.operations.
Count
))
2009
methodInfo.inputNames = new String[message.parts.
Count
];
2010
methodInfo.inputNamesNs = new String[message.parts.
Count
];
2011
methodInfo.inputElements = new String[message.parts.
Count
];
2012
methodInfo.inputElementsNs = new String[message.parts.
Count
];
2013
methodInfo.inputTypes = new String[message.parts.
Count
];
2014
methodInfo.inputTypesNs = new String[message.parts.
Count
];
2015
for (int ip=0; ip<message.parts.
Count
; ip++)
2053
methodInfo.outputNames = new String[message.parts.
Count
];
2054
methodInfo.outputNamesNs = new String[message.parts.
Count
];
2055
methodInfo.outputElements = new String[message.parts.
Count
];
2056
methodInfo.outputElementsNs = new String[message.parts.
Count
];
2057
methodInfo.outputTypes = new String[message.parts.
Count
];
2058
methodInfo.outputTypesNs = new String[message.parts.
Count
];
2059
for (int ip=0; ip<message.parts.
Count
; ip++)
2139
for (int i=0;i<_URTNamespaces.
Count
;i++)
2142
for (int i=0;i<_URTNamespaces.
Count
;i++)
2145
for (int i=0;i<_URTNamespaces.
Count
;i++)
2676
Util.Log("WsdlParser.lookupNamespace name "+name+" number of NS "+_URTNamespaces.
Count
);
2677
for (int i=0;i<_URTNamespaces.
Count
;i++)
2732
for (int i=0;i<_URTNamespaces.
Count
;i++)
2746
for (int i=0;i<_URTNamespaces.
Count
;i++)
3499
_params.
Count
== suppliedMethod._params.
Count
)
3501
for (int i=0;i<_params.
Count
;i++)
3520
for (int i=0;i<_params.
Count
;i++)
3628
for (int j=0; j<inherit.
Count
; j++)
3693
Util.Log("URTMethod.IsSignature param length "+paramInfos.Length+" URTParams length "+_params.
Count
);
3695
if (_params.
Count
!= paramInfos.Length)
3717
for (int i=0;i<_params.
Count
;i++)
3777
if (_params.
Count
> 0)
3781
for (int i=1;i<_params.
Count
;i++)
3818
for (int i=0;i<_params.
Count
;i++)
3855
if (_params.
Count
> 0)
3859
for (int i=1;i<_params.
Count
;i++)
4197
Object[] paramsInOrder = new Object[_params.
Count
];
4198
for (int i=0; i<_params.
Count
; i++)
4315
Object[] paramsInOrder = new Object[_params.
Count
];
4316
for (int i=0; i<_params.
Count
; i++)
4479
for (i=0;i<printedIFaces.
Count
;i++)
4741
for (int i=0;i<_baseIFaceNames.
Count
;i=i+2)
4774
for (int i=0;i<_methods.
Count
;i++)
4826
if (_baseIFaces.
Count
> 0)
4829
if (_baseIFaces.
Count
> 0)
4832
for (int i=1;i<_baseIFaces.
Count
;i++)
4846
Util.Log("URTInterface.PrintCSC method count "+_methods.
Count
);
4848
for (int i=0;i<_methods.
Count
;i++)
4870
for (int i=0;i<printedIFaces.
Count
;i++)
4878
Util.Log("URTInterface.PrintClassMethods method 2 "+Name+" _methods.Count "+_methods.
Count
);
4882
if (_methods.
Count
> 0)
4907
for (int i=0;i<_methods.
Count
;i++)
4917
for (int i=0;i<_baseIFaces.
Count
;i++)
5338
(_facets.
Count
== 0) &&
5459
for (int i=0;i<_facets.
Count
;i++)
5663
Util.Log("URTComplexType.IsEmittableFieldType _fieldString "+_fieldString+" _bAnonymous "+_bAnonymous+" _fields.Count "+_fields.
Count
);
5667
(_fields.
Count
== 1))
5729
Util.Log("URTComplexType.GetMethod "+name+" count "+_methods.
Count
+" Name "+Name+" base ns "+_baseTypeXmlNS+" base name "+_baseTypeName);
5730
for (int i=0;i<_methods.
Count
;i++)
5824
for (int i=0;i<_implIFaceNames.
Count
;i=i+2)
5858
for (int i=0;i<_methods.
Count
;i++)
5864
for (int i=0;i<_methods.
Count
;i++)
6000
if (_baseTypeName != null || _sudsUse == SudsUse.ISerializable || _implIFaces.
Count
> 0)
6046
if (_implIFaces.
Count
> 0)
6048
for (int i=0;i<_implIFaces.
Count
;i++)
6074
if (_methods.
Count
> 0)
6089
for (int i=0;i<_methods.
Count
;i++)
6111
if (_fields.
Count
> 0)
6115
for (int i=0;i<_fields.
Count
;i++)
6123
if (_nestedTypes != null && _nestedTypes.
Count
> 0)
6173
for (int i=0; i<_connectURLs.
Count
; i++)
6664
(_URTInterfaces.
Count
== 0) &&
6676
for (int i=0;i<_URTComplexTypes.
Count
;i++)
6691
for (int i=0;i<_URTComplexTypes.
Count
;i++)
6711
for (int i=0;i<_URTComplexTypes.
Count
;i++)
6729
for (int i=0;i<_URTSimpleTypes.
Count
;i++)
6751
for (int i=0;i<_URTComplexTypes.
Count
;i++)
6770
for (int i=0;i<_URTSimpleTypes.
Count
;i++)
6787
for (int i=0;i<_URTInterfaces.
Count
;i++)
6801
for (int i=0;i<_elmDecls.
Count
;i++)
6854
for (int i=0;i<_URTComplexTypes.
Count
;i++)
6860
for (int i=0;i<_URTInterfaces.
Count
;i++)
6867
for (int i=0;i<_URTComplexTypes.
Count
;i++)
6884
for (int i=0;i<_URTComplexTypes.
Count
;i++)
6894
for (int i=0;i<_URTSimpleTypes.
Count
;i++)
6902
if (_URTInterfaces.
Count
> 0)
6938
for (int i=0;i<_URTComplexTypes.
Count
;i++)
6951
for (int i=0;i<_URTSimpleTypes.
Count
;i++)
6962
for (int i=0;i<_URTInterfaces.
Count
;i++)
7014
for (int i=0; i<parts.
Count
; i++)
7022
for (int i=0; i<parts.
Count
; i++)
metadata\wsdlwriter.cs (50)
500
for (int i=0;i<_namespaces.
Count
;i++)
523
"ns" + _namespaces.
Count
,
549
for (int i=0;i<_namespaces.
Count
;i++)
561
if (_namespaces.
Count
> 0)
593
for (int i=0;i<_namespaces.
Count
;i++)
607
for (int i=0;i<_namespaces.
Count
;i++)
621
for (int i=0;i<_namespaces.
Count
;i++)
678
for (int i=0;i<_namespaces.
Count
;i++)
723
for (int i=0; i<refNames.
Count
; i++)
1114
bool bEmpty = (_abstractElms.
Count
== 0 && _restriction == null);
1123
if (_abstractElms.
Count
> 0)
1125
for (int i=0;i<_abstractElms.
Count
; i++)
1241
return((_abstractElms.
Count
== 0) &&
1242
(_particles.
Count
== 0));
1253
int particleCount = _particles.
Count
;
1279
int abstractElmCount = _abstractElms.
Count
;
1806
for (int iparam=0; iparam<phony._inParamTypes.
Count
; iparam++)
1848
for (int iparam=0; iparam<phony._outParamTypes.
Count
; iparam++)
1897
if (phony != null && phony._paramNamesOrder.
Count
> 0)
1978
for (int i=0;i<_xns._realSchemaTypes.
Count
;i++)
2360
Type[] ifaceTypes = new Type[ifaceA.
Count
];
2361
for(int i=0; i<ifaceA.
Count
; i++)
2400
for (int j=0; j<inherit.
Count
; j++)
2475
if (additionalInfos.
Count
> 0)
2477
finalMethodInfos = new MethodInfo[methodInfos.Length + additionalInfos.
Count
];
2480
for(int i=0; i<additionalInfos.
Count
; i++)
2683
for (int i=0;i<_simpleSchemaTypes.
Count
;i++)
2695
if (_arraySchemaTypes.
Count
> 0 ||
2696
_simpleSchemaTypes.
Count
> 0)
2699
if (_realSchemaTypes.
Count
== 0)
2703
for (int i=0;i<_realSchemaTypes.
Count
;i++)
2721
Debug.Assert(_phonySchemaTypes.
Count
== 0, "PhonyTypes present");
2722
for (int i=0;i<_realSchemaTypes.
Count
;i++)
2735
for (int i=0;i<_arraySchemaTypes.
Count
;i++)
2783
for (int i=0;i<_phonySchemaTypes.
Count
;i++)
2805
for (int i=0;i<_dependsOnSchemaNS.
Count
;i++)
2828
for (int i=0;i<_dependsOnSUDSNS.
Count
;i++)
2850
for (int i=0;i<_realSchemaTypes.
Count
;i++)
2859
if (_dependsOnSchemaNS.
Count
> 0)
2861
for (int i=0;i<_dependsOnSchemaNS.
Count
;i++)
2881
Util.Log("XMLNamespace.PrintSchemaWsdl "+Namespace+" _realSchemaTypes.Count "+_realSchemaTypes.
Count
);
2895
if ((_simpleSchemaTypes.
Count
> 0) || (_realSchemaTypes.
Count
> 0) || (_arraySchemaTypes.
Count
> 0))
2940
for (int i=0;i<_simpleSchemaTypes.
Count
;i++)
2946
for (int i=0;i<_realSchemaTypes.
Count
;i++)
2953
for (int i=0;i<_arraySchemaTypes.
Count
;i++)
2980
for (int i=0;i<_realSUDSTypes.
Count
;i++)
2983
if (_realSUDSTypes.
Count
== 0 && _realSchemaTypes.
Count
> 0)
System.Security (29)
system\security\cryptography\cryptographicattribute.cs (3)
109
m_list = new ArrayList(other.m_list.
Count
);
138
for (int index = 0; index < m_list.
Count
; index++) {
193
return m_list.
Count
;
system\security\cryptography\pkcs\pkcs7recipient.cs (3)
98
m_recipients = new ArrayList(other.m_recipients.
Count
);
106
if (index < 0 || index >= m_recipients.
Count
)
115
return m_recipients.
Count
;
system\security\cryptography\pkcs\recipientinfo.cs (2)
468
if (index < 0 || index >= m_recipientInfos.
Count
)
476
return m_recipientInfos.
Count
;
system\security\cryptography\xml\c14nutil.cs (5)
595
get { return m_nodeArray.
Count
; }
731
return GetScopeAt(m_ancestorStack.
Count
- 1);
737
for (int i = m_ancestorStack.
Count
- 1; i >= 0; i--) {
749
for (int i = m_ancestorStack.
Count
- 1; i >= 0; i--) {
763
m_ancestorStack.RemoveAt(m_ancestorStack.
Count
- 1);
system\security\cryptography\xml\canonicalxml.cs (1)
175
for (int i = m_ancestorStack.
Count
- 1; i >= 0; i--) {
system\security\cryptography\xml\encryptedkey.cs (1)
231
get { return m_references.
Count
; }
system\security\cryptography\xml\encryptedtype.cs (1)
289
get { return m_props.
Count
; }
system\security\cryptography\xml\keyinfo.cs (2)
61
for (int i = 0; i < m_KeyInfoClauses.
Count
; ++i) {
115
get { return m_KeyInfoClauses.
Count
; }
system\security\cryptography\xml\signedinfo.cs (2)
176
if (m_references.
Count
== 0)
179
for (int i = 0; i < m_references.
Count
; ++i) {
system\security\cryptography\xml\signedxml.cs (4)
803
for (int j=0; j < references.
Count
; ++j) {
850
m_refProcessed = new bool[references.
Count
];
851
m_refLevelCache = new int[references.
Count
];
882
for (int i = 0; i < references.
Count
; ++i) {
system\security\cryptography\xml\transform.cs (5)
59
get { return m_transforms.
Count
; }
64
if (index >= m_transforms.
Count
)
1194
if (ExceptUris.
Count
== 0)
1259
if (ExceptUris.
Count
> 0) {
1260
for (int index = 0; index < ExceptUris.
Count
; index++) {
System.ServiceModel (14)
System\ServiceModel\Dispatcher\QueryIntervalOp.cs (9)
158
return (this.
Count
> 0);
173
this.Capacity = this.
Count
+ 1;
192
int count = this.
Count
;
213
int count = this.
Count
;
228
int count = this.
Count
;
564
return (null != this.intervals) ? this.intervals.
Count
: 0;
887
replacementCount = replacementIntervals.
Count
;
1107
for (int i = 0; i < this.intervalTree.Intervals.
Count
; ++i)
1128
for (int i = 0, count = matches.
Count
; i < count; ++i)
System\ServiceModel\Dispatcher\XPathExpr.cs (1)
163
return this.list.
Count
;
System\ServiceModel\Security\SecurityContextTokenCache.cs (2)
181
for (int i = 0; i < matchingKeys.
Count
; ++i)
202
for (int i = 0; i < matchingKeys.
Count
; ++i)
System\ServiceModel\Security\TimeBoundedCache.cs (2)
319
for (int i = 0; i < keysToBeRemoved.
Count
; ++i)
404
for (int i = 0; i < expiredItems.
Count
; ++i)
System.ServiceModel.Internals (1)
System\Runtime\UrlUtility.cs (1)
592
int numValues = (values != null) ? values.
Count
: 0;
System.Transactions (22)
System\Transactions\Oletx\OletxResourceManager.cs (8)
570
if ( ( 0 == this.reenlistList.
Count
) && ( 0 == this.reenlistPendingList.
Count
) )
649
( 0 == this.reenlistList.
Count
) &&
650
( 0 == this.reenlistPendingList.
Count
)
701
localLoopCount = resourceManager.reenlistList.
Count
;
711
if ( 0 == resourceManager.reenlistList.
Count
)
910
localLoopCount = resourceManager.reenlistList.
Count
;
911
if ( ( 0 >= localLoopCount ) && ( 0 >= resourceManager.reenlistPendingList.
Count
) )
System\Transactions\Oletx\OleTxTransaction.cs (4)
854
if ( 0 == this.phase0EnlistVolatilementContainerList.
Count
)
861
localPhase0VolatileContainer = this.phase0EnlistVolatilementContainerList[this.phase0EnlistVolatilementContainerList.
Count
- 1] as OletxPhase0VolatileEnlistmentContainer;
1070
if ( 0 == this.phase0EnlistVolatilementContainerList.
Count
)
1077
localPhase0VolatileContainer = this.phase0EnlistVolatilementContainerList[this.phase0EnlistVolatilementContainerList.
Count
- 1] as OletxPhase0VolatileEnlistmentContainer;
System\Transactions\Oletx\OletxVolatileEnlistment.cs (10)
359
localCount = this.enlistmentList.
Count
;
392
localCount = this.enlistmentList.
Count
;
426
localCount = this.enlistmentList.
Count
;
526
outstandingNotifications = enlistmentList.
Count
;
527
localCount = enlistmentList.
Count
;
952
localPhase1Count = this.enlistmentList.
Count
;
983
localPhase1Count = this.enlistmentList.
Count
;
1015
localPhase1Count = this.enlistmentList.
Count
;
1065
this.outstandingNotifications = this.enlistmentList.
Count
;
1066
localPhase1Count = this.enlistmentList.
Count
;
System.Web (221)
Cache\OutputCache.cs (3)
183
int count = (headers != null) ? headers.
Count
: 0;
194
count = (buffers != null) ? buffers.
Count
: 0;
301
for (int i = 0; i < rawResponse.Buffers.
Count
; i++) {
Cache\SqlCacheDependency.cs (3)
243
Debug.Assert(sqlDependencies.
Count
> 0, "sqlDependencies.Count > 0");
247
if (sqlDependencies.
Count
== 1) {
254
for(int i=0; i < sqlDependencies.
Count
; i++) {
Compilation\BaseTemplateCodeDomTreeGenerator.cs (2)
1104
if (controlBuilder.SubBuilders.
Count
> 0) {
1117
if (list.
Count
> 0) {
Compilation\BrowserCapabilitiesCompiler.cs (5)
128
if (browserFileDependenciesList.
Count
> 0) {
234
if (list != null && list.
Count
> 0) {
267
for (int i = 0; i < CustomTreeNames.
Count
; i++) {
307
for (int i = 0; i < customTreeRoots.
Count
; i++) {
462
for (int i = 0; i < customTreeRoots.
Count
; i++) {
Compilation\PageThemeCodeDomTreeGenerator.cs (1)
106
int initialSize = _controlSkinBuilderEntryList.
Count
;
Configuration\BrowserCapabilitiesCodeGenerator.cs (17)
562
for (int i = 0; i < _customBrowserFileLists.
Count
; i++) {
678
for (int i = 0; i < _customTreeNames.
Count
; i++) {
746
for (int i = 0; i < customTreeRoots.
Count
; i++) {
763
for (int i = 0; i < customTreeRoots.
Count
; i++) {
927
for (int i = 0; i < _customTreeNames.
Count
; i++) {
1038
IgnoreApplicationBrowserVariableName, new CodePrimitiveExpression(bd.Browsers.
Count
!= 0));
1042
if (bd.Browsers.
Count
> 0) {
1164
if(bd.IdHeaderChecks.
Count
> 0) {
1166
for (int i = 0; i < bd.IdHeaderChecks.
Count
; i++) {
1248
if (bd.IdCapabilityChecks.
Count
> 0) {
1250
for (int i = 0; i < bd.IdCapabilityChecks.
Count
; i++) {
1324
if ((bd.CaptureHeaderChecks.
Count
== 0) && (bd.CaptureCapabilityChecks.
Count
== 0)) {
1328
if(bd.CaptureHeaderChecks.
Count
> 0) {
1330
for(int i = 0; i < bd.CaptureHeaderChecks.
Count
; i++) {
1366
if (bd.CaptureCapabilityChecks.
Count
> 0) {
1368
for(int i = 0; i < bd.CaptureCapabilityChecks.
Count
; i++) {
Configuration\BrowserCapabilitiesFactoryBase.cs (1)
165
if(browserCaps.Browsers == null || browserCaps.Browsers.
Count
<= 1) {
Configuration\CapabilitiesPattern.cs (2)
96
_rules = new int[rules.
Count
];
97
for (int i = 0; i < rules.
Count
; i++)
Configuration\CapabilitiesState.cs (3)
67
_regexlist.RemoveAt(_regexlist.
Count
- 1);
68
_matchlist.RemoveAt(_matchlist.
Count
- 1);
75
int i = _matchlist.
Count
;
Configuration\HealthMonitoringSectionHelper.cs (2)
385
for (int i = _ruleInfos.
Count
- 1; i >= 0; i--) {
397
int count = matchedRules.
Count
;
Configuration\HttpCapabilitiesBase.cs (2)
374
return (string)_browsers[_browsers.
Count
- 1];
1757
for (int i = 0; i < _browsers.
Count
; i++) {
Configuration\HttpCapabilitiesEvaluator.cs (1)
163
if (ruleList.
Count
== 0)
Configuration\HttpCapabilitiesSectionHandler.cs (3)
86
if (sublist.
Count
> 0) {
90
if (parseState.FileList.
Count
> 0) {
371
if (sublist.
Count
> 0) {
Configuration\MetabaseServerConfig.cs (1)
432
string[] subdirs = new string[list.
Count
];
Configuration\RemoteWebConfigurationHostServer.cs (1)
207
for (int i = 0; i < filePaths.
Count
; i++) {
Configuration\WebConfigurationHost.cs (2)
550
for (int i = 0; i < list.
Count
; i++) {
555
if (list.
Count
== 0) {
ErrorFormatter.cs (2)
1023
for (int i = _exStack.
Count
- 1; i >=0; i--) {
1024
if (i < _exStack.
Count
- 1)
FileChangesMonitor.cs (1)
1157
for (i = 0, n = targets.
Count
; i < n; i++) {
Hosting\ApplicationManager.cs (1)
563
int n = appList.
Count
;
Hosting\IIS7WorkerRequest.cs (3)
1306
int n = headers.
Count
/ 2;
1346
numFragments = _cachedResponseBodyBytes.
Count
;
1435
int numFragments = _cachedResponseBodyBytes.
Count
;
Hosting\ISAPIWorkerRequest.cs (3)
781
int n = headers.
Count
/ 2;
862
int numFragments = _cachedResponseBodyBytes.
Count
;
897
numFragments = _cachedResponseBodyBytes.
Count
;
HttpApplication.cs (3)
2703
int numHandlers = _handlerRecycleList.
Count
;
3850
_endRequestStepIndex = steps.
Count
;
3854
_execSteps = new IExecutionStep[steps.
Count
];
HttpApplicationFactory.cs (1)
321
_eventHandlerMethods = new MethodInfo[handlers.
Count
];
HttpCachePolicy.cs (2)
1095
validationCallbackInfo = new ValidationCallbackInfo[_validationCallbackInfo.
Count
];
1096
_validationCallbackInfo.CopyTo(0, validationCallbackInfo, 0, _validationCallbackInfo.
Count
);
HttpContext.cs (2)
1160
if (_errors == null || _errors.
Count
== 0 || _errorCleared)
1184
int n = (_errors != null) ? _errors.
Count
: 0;
HttpRequest.cs (1)
337
int n = values.
Count
;
HttpResponse.cs (4)
421
int numCustomHeaders = _customHeaders.
Count
;
538
int n = (headers != null) ? headers.
Count
: 0;
1136
int n = (headers != null) ? headers.
Count
: 0;
1638
int numCustomHeaders = _customHeaders.
Count
;
HttpWriter.cs (17)
911
int n = _buffers.
Count
;
978
int n = _buffers.
Count
;
1213
return _buffers.
Count
;
1241
HttpBaseMemoryResponseBufferElement buf = _buffers[_buffers.
Count
-1] as HttpBaseMemoryResponseBufferElement;
1276
int n = _buffers.
Count
;
1304
for (int i = 0; i < writerBuffers.
Count
; i++) {
1316
if (_substElements != null && _substElements.
Count
> 0) {
1319
for(int i = 0; i < buffers.
Count
; i++) {
1322
if (substCount == _substElements.
Count
) {
1328
if (substCount != _substElements.
Count
) {
1354
int n = _buffers.
Count
;
1385
int n = buffers.
Count
;
1437
if (_buffers.
Count
== 0 && !finalFiltering)
1451
int n = oldBuffers.
Count
;
1512
for (int i = 0; i < nativeBuffers.
Count
; i++) {
1529
for (int i = 0; i < oldBuffers.
Count
; i++) {
1561
int n = _buffers.
Count
;
Management\EventlogProvider.cs (2)
234
for (int i = 0; i < dataFields.
Count
; i++) {
250
hr = UnsafeNativeMethods.RaiseEventlogEvent((int)eventType, (string[])dataFields.ToArray(typeof(string)), dataFields.
Count
);
Management\SqlServices.cs (1)
188
tables.InsertRange(tables.
Count
, s_featureInfos[i]._tablesRemovedInUninstall);
Management\WebEvents.cs (3)
524
if (firingRuleInfos.
Count
== 0) {
567
matchingProviderArray = new bool[firingRuleInfos.
Count
];
686
if (firingRuleInfos.
Count
== 0) {
Profile\ProfileInfo.cs (1)
156
_CurPos = _ArrayList.
Count
;
RequestTimeoutManager.cs (1)
95
int n = entries.
Count
;
SiteMapNodeCollection.cs (1)
66
return List.
Count
;
UI\ClientScriptManager.cs (4)
1332
if (_validEventReferences != null && _validEventReferences.
Count
> 0) {
1389
if (validatedClientEvents == null || validatedClientEvents.
Count
< 1) {
1402
_clientPostBackValidatedEventTable = new HybridDictionary(validatedClientEvents.
Count
- 1, true);
1405
for (int index = 1; index < validatedClientEvents.
Count
; index++) {
UI\Control.cs (2)
2064
int childStateCount = childState.
Count
;
2090
int childStateCount = childState.
Count
;
UI\ControlBuilder.cs (14)
943
entry.Index = entries.
Count
;
1309
if ((subBuilder.SubBuilders != null) && (subBuilder.SubBuilders.
Count
> 0)) {
1399
SubBuilders.RemoveAt(SubBuilders.
Count
- 1);
1592
if (DefaultPropertyBuilder.SubBuilders.
Count
> 0) {
1858
if (SubBuilders.
Count
== 0) {
1862
return SubBuilders[SubBuilders.
Count
- 1];
2591
if ((_eventEntries != null) && (_eventEntries.
Count
== 0)) {
2595
if ((_simplePropertyEntries != null) && (_simplePropertyEntries.
Count
== 0)) {
2600
if (_complexPropertyEntries.
Count
== 0) {
2612
if (_templatePropertyEntries.
Count
== 0) {
2623
if ((_boundPropertyEntries != null) && (_boundPropertyEntries.
Count
== 0)) {
2628
if (_subBuilders.
Count
> 0) {
2984
if (propertyEntries != null && propertyEntries.
Count
> 1) {
2985
HybridDictionary dictionary = new HybridDictionary(propertyEntries.
Count
, true);
UI\DataBoundLiteralControl.cs (2)
56
return (SubBuilders.
Count
+1) / 2;
62
return SubBuilders.
Count
/ 2;
UI\HtmlControls\HtmlHead.cs (2)
285
for (int i = 0; i < _styles.
Count
; i++) {
296
for (int i = 0; i < _selectorStyles.
Count
; i++) {
UI\LegacyPageAsyncTaskManager.cs (4)
49
for (int i = 0; i < _tasks.
Count
; i++) {
69
for (int i = 0; i < _tasks.
Count
; i++) {
91
for (int i = 0; i < _tasks.
Count
; i++) {
239
for (int i = 0; i < _tasks.
Count
; i++) {
UI\ObjectStateFormatter.cs (2)
954
writer.WriteEncoded(list.
Count
);
955
for (int i = list.
Count
- 1; i >= 0; i--) {
UI\OrderedDictionaryStateHelper.cs (1)
24
for (int i = 0; i < state.
Count
; i++) {
UI\Page.cs (6)
660
(Form != null && Form.SubmitDisabledControls && (EnabledControls.
Count
> 0))) {
2214
if (viewStateChunks.
Count
== 0) {
2417
return Form.SubmitDisabledControls && (EnabledControls.
Count
> 0) &&
3263
for (int i=0; i < _changedPostDataConsumers.
Count
; i++) {
3291
for (int i = 0; i < _changedPostDataConsumers.
Count
; i++) {
5490
if (_registeredControlsThatRequirePostBack != null && _registeredControlsThatRequirePostBack.
Count
> 0) {
UI\SkinBuilder.cs (1)
224
for (int i=0; i<subBuilders.
Count
; ++i) {
UI\StateBag.cs (1)
259
for (int i = 0; i < data.
Count
; i += 2) {
UI\StateManagedCollection.cs (8)
53
return _collectionItems.
Count
;
241
for (int i = 0; i < indices.
Count
; i++) {
283
for (int i = 0; i < indices.
Count
; i++) {
364
int count = _collectionItems.
Count
;
412
index = typedObjectTypeNames.
Count
+ knownTypeCount - 1;
447
int count = _collectionItems.
Count
;
494
index = typedObjectTypeNames.
Count
+ knownTypeCount - 1;
608
return _collectionItems.
Count
- 1;
UI\TemplateControlParser.cs (1)
302
if (ScriptList.
Count
== 0 && BaseType == DefaultBaseType && CodeFileVirtualPath == null)
UI\TraceContext.cs (1)
800
int n = (headers != null) ? headers.
Count
: 0;
UI\ValidatorCollection.cs (1)
38
return data.
Count
;
UI\WebControls\AdRotator.cs (4)
911
if (adDicts == null || adDicts.
Count
== 0) {
916
AdRec [] adRecs = new AdRec[adDicts.
Count
];
918
for (int i = 0; i < adDicts.
Count
; i++) {
924
Debug.Assert(iRec == adDicts.
Count
, "Record count did not match non-null entries");
UI\WebControls\ColumnCollection.cs (4)
43
return columns.
Count
;
229
if (columnsState.Length == columns.
Count
) {
247
int columnCount = columns.
Count
;
259
int columnCount = columns.
Count
;
UI\WebControls\DataGrid.cs (7)
540
if ((oldSelectedIndex != -1) && (itemsArray.
Count
> oldSelectedIndex)) {
550
if ((value != -1) && (itemsArray.
Count
> value)) {
962
if ((generatedColumns.
Count
== 0) && throwException) {
1001
int autoColumnCount = autoColumns.
Count
;
1094
columnCount = columnsArray.
Count
;
1847
if ((autoGenColumnsArray != null) && (autoGenColumnsArray.
Count
!= 0)) {
1848
autoGenColumnState = new object[autoGenColumnsArray.
Count
];
UI\WebControls\DataGridItemCollection.cs (1)
35
return items.
Count
;
UI\WebControls\DataKeyArray.cs (3)
33
return _keys.
Count
;
131
int keyCount = _keys.
Count
;
149
int keyCount = _keys.
Count
;
UI\WebControls\DataKeyCollection.cs (1)
32
return keys.
Count
;
UI\WebControls\DataList.cs (3)
514
if ((oldSelectedIndex != -1) && (itemsArray.
Count
> oldSelectedIndex)) {
524
if ((value != -1) && (itemsArray.
Count
> value)) {
1482
return itemsArray != null ? itemsArray.
Count
: 0;
UI\WebControls\DataListItemCollection.cs (1)
36
return items.
Count
;
UI\WebControls\DetailsViewRowCollection.cs (1)
32
return _rows.
Count
;
UI\WebControls\GridView.cs (13)
1238
if ((oldSelectedIndex != -1) && (_rowsArray.
Count
> oldSelectedIndex)) {
1243
if ((value != -1) && (_rowsArray.
Count
> value)) {
2158
if (keyArray.
Count
== index) {
2172
if (suffixArray.
Count
== index) {
2181
if (index < keyArray.
Count
) {
2218
if (keyArray.
Count
== index) {
2232
if (suffixArray.
Count
== index) {
2241
if (index < keyArray.
Count
) {
4233
(_dataKeysArrayList != null && _dataKeysArrayList.
Count
> 0) ||
4260
if (_dataKeysArrayList != null && _dataKeysArrayList.
Count
> 0) {
4261
dataKeyCount = _dataKeysArrayList.
Count
;
4273
if (_clientIDRowSuffixArrayList != null && _clientIDRowSuffixArrayList.
Count
> 0) {
4274
dataKeyCount = _clientIDRowSuffixArrayList.
Count
;
UI\WebControls\GridViewRowCollection.cs (1)
35
return _rows.
Count
;
UI\WebControls\Listbox.cs (1)
220
oldcount = oldSelectedIndices.
Count
;
UI\WebControls\ListControl.cs (1)
842
for (int i=0; i < selectedIndices.
Count
; i++) {
UI\WebControls\ListItemCollection.cs (3)
76
return listItems.
Count
;
343
for (int i=0; i<indices.
Count
; i++) {
417
if (indices.
Count
> 0)
UI\WebControls\RepeaterItemCollection.cs (1)
37
return items.
Count
;
UI\WebControls\SelectedDatesCollection.cs (1)
34
return dateList.
Count
;
UI\WebControls\TreeNode.cs (1)
688
for (int i = 0; i < list.
Count
; i += 2) {
UI\WebParts\BlobPersonalizationState.cs (3)
1029
if (infoList.
Count
!= 0) {
1033
items.Add(infoList.
Count
);
1077
if (items.
Count
!= 0) {
UI\WebParts\PersonalizationStateInfoCollection.cs (2)
35
return _values.
Count
;
126
Debug.Assert(ipos >= 0 && ipos < _values.
Count
);
UI\WebParts\PropertyGridEditorPart.cs (1)
183
_errorMessages = new string[EditorControls.
Count
];
UI\WebParts\ToolZone.cs (1)
363
if (visibleVerbs.
Count
> 0) {
UI\WebParts\WebPartManager.cs (5)
1910
int count = parts.
Count
;
4055
int dynamicWebPartsCount = dynamicWebParts.
Count
;
4131
int deletedConnectionsCount = deletedConnections.
Count
;
4132
if (deletedConnections.
Count
> 0) {
4162
int dynamicConnectionsCount = dynamicConnections.
Count
;
Util\ResourcePool.cs (10)
67
if (_resources.
Count
!= 0) {
72
if (_resources.
Count
== 0) {
76
result = _resources[_resources.
Count
-1];
77
_resources.RemoveAt(_resources.
Count
-1);
78
if (_resources.
Count
< _iDisposable) {
79
_iDisposable = _resources.
Count
;
97
if (_resources.
Count
< _max) {
128
if (_resources.
Count
== 0) {
144
_iDisposable = _resources.
Count
;
146
Debug.Trace("ResourcePool", "Timer disposing " + a.Length + "; remaining=" + _resources.
Count
);
Util\UrlPath.cs (4)
280
if (list.
Count
== 0)
286
if (list.
Count
== 1 && IsAppRelativePath(path)) {
291
sb.Length = (int)list[list.
Count
- 1];
292
list.RemoveRange(list.
Count
- 1, 1);
System.Web.ApplicationServices (3)
Security\MembershipUserCollection.cs (3)
52
if (ipos >= _Values.
Count
)
70
if (ipos >= _Values.
Count
)
92
public int Count { get { return _Values.
Count
; } }
System.Web.DataVisualization (87)
Common\ChartTypes\AreaChart.cs (1)
759
while((pointIndex + indexOffset) < points.
Count
)
Common\ChartTypes\BoxPlotChart.cs (3)
1754
if(unusualValuesList.
Count
> 0)
1757
double[] newYValues = new double[6 + unusualValuesList.
Count
];
1766
for(int index = 0; index < unusualValuesList.
Count
; index++)
Common\ChartTypes\FunnelChart.cs (2)
1795
if(pointIndex > this.segmentList.
Count
&& !ShouldDrawFirstPoint() )
1798
pointIndex = this.segmentList.
Count
;
Common\ChartTypes\KagiChart.cs (1)
791
if((pointIndex + 1) < points.
Count
)
Common\ChartTypes\LineChart.cs (2)
1306
if(dataPointDrawingOrder.
Count
> 0)
1576
for(int pointIndex = 1; pointIndex < points.
Count
; pointIndex++)
Common\ChartTypes\PieChart.cs (4)
1970
for( int index = 0; index < _labelsRectangles.
Count
; index++ )
1991
for( int index = 0; index < _labelsRectangles.
Count
; index++ )
2023
for( int index = 0; index < _labelsRectangles.
Count
; index++ )
2044
for( int index = 0; index < _labelsRectangles.
Count
; index++ )
Common\ChartTypes\PointChart.cs (2)
1251
this.label3DInfoList.
Count
> 0 &&
1252
((Label3DInfo)this.label3DInfoList[this.label3DInfoList.
Count
-1]).PointEx.zPosition != pointEx.zPosition)
Common\ChartTypes\RangeChart.cs (1)
1031
if((pointIndex + 1) < points.
Count
)
Common\ChartTypes\StackedAreaChart.cs (9)
534
if(prevPointsArray != null && index < prevPointsArray.
Count
)
555
if(prevPointsArray != null && index < prevPointsArray.
Count
)
569
if(prevPointsArray != null && index < prevPointsArray.
Count
)
847
if(prevPointsArray != null && index < prevPointsArray.
Count
)
863
if(prevPointsArray != null && index < prevPointsArray.
Count
)
876
if(prevPointsArray != null && index < prevPointsArray.
Count
)
953
if(prevPointsArray != null && index < prevPointsArray.
Count
)
969
if(prevPointsArray != null && index < prevPointsArray.
Count
)
982
if(prevPointsArray != null && index < prevPointsArray.
Count
)
Common\ChartTypes\StackedBarChart.cs (5)
644
for(int groupIndex = 0; groupIndex < this.stackGroupNames.
Count
; groupIndex++)
727
width = width / (double)this.stackGroupNames.
Count
;
776
if(this.stackGroupNames.
Count
> 1)
778
xPosition = xPosition - width * ((double) this.stackGroupNames.
Count
) / 2.0 + width / 2.0 + groupIndex * width;
1468
area.StackGroupNames.
Count
> 1 &&
Common\ChartTypes\StackedColumnChart.cs (6)
654
for(int groupIndex = 0; groupIndex < this.stackGroupNames.
Count
; groupIndex++)
736
width = width / (double)this.stackGroupNames.
Count
;
822
if(this.stackGroupNames.
Count
> 1)
824
xPosition = xPosition - width * ((double) this.stackGroupNames.
Count
) / 2.0 + width / 2.0 + groupIndex * width;
1056
Series[] arrayOfSeries = new Series[list.
Count
];
1511
area.StackGroupNames.
Count
> 1 &&
Common\ChartTypes\StepLineChart.cs (1)
302
if((pointIndex + 1) < points.
Count
)
Common\ChartTypes\ThreeLineBreakChart.cs (3)
413
for(int index = 0; index < highLowHistory.
Count
; index += 2)
431
for(int index = 1; index < highLowHistory.
Count
; index += 2)
501
if(highLowHistory.
Count
> linesInBreak * 2)
Common\Converters\CustomAttributesConverters.cs (1)
421
Attribute[] propAttributes = new Attribute[propList.
Count
];
Common\Formulas\FormulaRegistry.cs (1)
166
return _modulesNames.
Count
;
Common\General\Axis.cs (2)
4124
for(int index = 0; fitDone && index < labelPositions.
Count
; index++)
4127
for(int index2 = index + 1; fitDone && index2 < labelPositions.
Count
; index2++)
Common\General\AxisLabels.cs (1)
257
if (this.GetAxisSeries().
Count
> 0)
Common\General\AxisScale.cs (1)
1206
if( _stripLineOffsets.
Count
> index )
Common\General\AxisScaleBreaks.cs (3)
847
if(emptySequences.
Count
> 0)
927
for(int index = 0; index < excludedSegments.
Count
; index += 2)
970
if (axisSeries.
Count
== 0 || numberOfPoints == 0)
Common\General\Chart.cs (12)
575
else if (names.
Count
== 0 && dataSource is ITypedList)
585
else if (names.
Count
== 0 && dataSource is IEnumerable)
604
if (names.
Count
== 0)
983
if(seriesList.
Count
== 0)
1064
for(int index = 0; index < axisLabels.
Count
; index++)
1202
if(seriesList.
Count
> 0)
1374
for (int i = 0; i < dataSourceFields.
Count
; i++)
1390
if (parseSucceed && index >= 0 && index < dataSourceFields.
Count
)
1398
int seriesNumber = dataSourceFields.
Count
;
3043
if(areaList.
Count
> 0)
3075
if(alignGroup.
Count
> 0)
3087
if(alignGroup.
Count
> 0)
Common\General\ChartArea.cs (3)
2115
if (!requireAxes && ChartTypes.
Count
!= 0)
2121
for (int chartTypeIndex = 0; chartTypeIndex < ChartTypes.
Count
; chartTypeIndex++)
2968
if (this.ChartTypes.
Count
> 1 &&
Common\General\ChartArea3D.cs (2)
996
seriesNumber = stackGroupNames.
Count
;
1689
return this._stackGroupNames.
Count
;
Common\General\ChartAreaAxes.cs (5)
1258
if(list.
Count
> 0)
1261
string[] stringArray = new String[list.
Count
];
1834
for( int point = 1; point < seriesXValues[seriesIndex].
Count
; point++ )
1905
for(int pointIndex = 0; pointIndex < xList.
Count
&& !sameXValue; pointIndex++)
1912
if( (pointIndex < seriesXValues[index].
Count
&& (double)seriesXValues[index][pointIndex] == xValue) ||
Common\General\ChartGraphics.cs (2)
1623
if (common.HotRegionsList.List != null && common.HotRegionsList.List.
Count
> 0)
1625
((HotRegion)common.HotRegionsList.List[common.HotRegionsList.List.
Count
- 1]).Type =
Common\General\ChartGraphics3D.cs (4)
1393
if(firtsSplinePointIndex >= (points.
Count
- 2) )
1591
if((pointIndex + 1) < points.
Count
)
1998
if((pointIndex + 1) < points.
Count
)
2698
if(neighborPointIndex < (points.
Count
- 2))
Common\General\DataManipulator.cs (1)
2964
pointTempValues[functionInfo.outputIndex] = uniqueValues.
Count
;
Common\General\Selection.cs (4)
1117
_regionList.Insert( _regionList.
Count
- 1, region );
2013
if (regionList.
Count
== 0)
2044
for (int index = regionList.
Count
- 1; index >= 0; index--)
2635
for (int i = hrList.List.
Count
- 1; i >= 0; i--)
Common\General\SmartLabels.cs (4)
690
bool rememberMarkersCount = (this.smartLabelsPositions.
Count
== 0);
694
this.markersCount = this.smartLabelsPositions.
Count
;
1318
if(this.smartLabelsPositions.
Count
== 0 && area != null)
1667
if(this.smartLabelsPositions.
Count
== 0 &&
Common\Utilities\XmlSerializer.cs (1)
990
for(int itemIndex = 0; itemIndex < contentList.
Count
; itemIndex += 2)
System.Web.Entity (1)
System\Data\WebControls\EntityDataSourceView.cs (1)
1048
int numEntities = (_originalProperties.First().Value).
Count
;
System.Web.Extensions (17)
ClientServices\Providers\ClientRoleProvider.cs (2)
346
_Roles = new string[al.
Count
];
347
for (int iter = 0; iter < al.
Count
; iter++)
ClientServices\Providers\ClientSettingsProvider.cs (2)
410
Type [] temp = new Type[_KnownTypesArray.Length + al.
Count
];
433
Type [] temp = new Type[_KnownTypesArray.Length + al.
Count
];
UI\ProfileServiceManager.cs (2)
82
bool loadProperties = loadedProperties != null && loadedProperties.
Count
> 0;
132
SortedList<string, object> topLevelSettings = new SortedList<string, object>(loadedProperties.
Count
);
UI\WebControls\ListView.cs (10)
1686
if (keyArray.
Count
== dataItemIndex) {
1696
if (dataItemIndex < keyArray.
Count
) {
1830
if (keyArray.
Count
== dataItemIndex) {
1839
if (dataItemIndex < keyArray.
Count
) {
1935
if (suffixArray.
Count
== dataItemIndex) {
3215
(_dataKeysArrayList != null && _dataKeysArrayList.
Count
> 0)) {
3244
if (_dataKeysArrayList != null && _dataKeysArrayList.
Count
> 0) {
3245
dataKeyCount = _dataKeysArrayList.
Count
;
3268
if (_clientIDRowSuffixArrayList != null && _clientIDRowSuffixArrayList.
Count
> 0) {
3269
dataKeyCount = _clientIDRowSuffixArrayList.
Count
;
UI\WebControls\QueryableDataSourceView.cs (1)
552
for (int i = 0; i < values.
Count
; i++) {
System.Web.Mobile (34)
Mobile\UrlPath.cs (3)
190
if (list.
Count
== 0)
195
sb.Length = (int)list[list.
Count
- 1];
196
list.RemoveRange(list.
Count
- 1, 1);
UI\MobileControls\Adapters\UpWmlMobileTextWriter.cs (11)
468
_currentCardIndex < _cards.
Count
- 1)
515
if (!Device.CanRenderAfterInputOrSelectElement && _currentCardIndex < _cards.
Count
- 1)
520
else if (CurrentCard.AnchorCount == 0 && _currentCardIndex < _cards.
Count
- 1 &&
771
_currentCardIndex < _cards.
Count
- 1)
857
if (!Device.CanRenderAfterInputOrSelectElement && _currentCardIndex < _cards.
Count
- 1)
862
else if (CurrentCard.AnchorCount == 0 && _currentCardIndex < _cards.
Count
- 1 &&
1022
if (_cards.
Count
> 0)
1053
if (card.AnchorCount == 1 && cardIndex == _cards.
Count
- 1 && card.SoftkeysUsed == 1)
1075
for(int i = 0; i < _cards.
Count
; i++)
1108
else if (cardIndex == _cards.
Count
- 1)
1123
if (cardIndex < _cards.
Count
- 1 && !card.NoOKLink)
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlMobileTextWriter.cs (1)
430
if (_wmlOnEnterForwardVarNames.
Count
== 0) {
UI\MobileControls\ArrayListCollectionBase.cs (1)
65
return Items.
Count
;
UI\MobileControls\Design\Converters\StyleConverter.cs (1)
48
if (0 == _styleArray.
Count
)
UI\MobileControls\Design\Converters\StyleReferenceConverter.cs (2)
121
if (styleArray.
Count
<= 1)
130
while (i < styleArray.
Count
)
UI\MobileControls\Design\DeviceFilterEditorDialog.cs (1)
441
if(filtersInErrorList.
Count
!= 0)
UI\MobileControls\Design\StyleSheetDesigner.cs (1)
563
if (lstStylesInCycle != null && lstStylesInCycle.
Count
> 0)
UI\MobileControls\Form.cs (3)
386
for (i = 0; i < set.
Count
; i++)
405
i < set.
Count
)
407
for (int j = set.
Count
- 1; j >= i; j--)
UI\MobileControls\MobileListItemCollection.cs (3)
112
item.SetIndex(Items.
Count
+ BaseIndex);
159
for (int i = index; i < Items.
Count
; i++)
173
for (int i = index; i < Items.
Count
; i++)
UI\MobileControls\ObjectListCommandCollection.cs (1)
168
_savedState = new String[commands.
Count
* 2];
UI\MobileControls\TextView.cs (5)
169
if (_elements == null || _elements.
Count
== 0)
197
_pageEndElement = _elements.
Count
- 1;
207
if (elementIndex == _elements.
Count
)
217
if (elementIndex == _elements.
Count
)
219
_pageEndElement = _elements.
Count
- 1;
UI\MobileControls\ValidationSummary.cs (1)
192
int count = errorValidators.
Count
;
System.Web.Services (14)
System\Web\Services\Description\ProtocolReflector.cs (1)
408
if (reflectedBinding.methodList != null && reflectedBinding.methodList.
Count
> 0) {
System\Web\Services\Description\SoapProtocolImporter.cs (2)
77
if (responseList.
Count
> 0) {
489
get { return propertyNames.
Count
> 0; }
System\Web\Services\Discovery\DiscoveryClientProtocol.cs (2)
173
bool same = specialErrorMessages.
Count
== Errors.Count && Errors.Count > 0;
174
for (int i = 1; same && i < specialErrorMessages.
Count
; i++) {
System\Web\Services\Protocols\HttpClientProtocol.cs (3)
60
LogicalMethodInfo[] m = new LogicalMethodInfo[list.
Count
];
61
for (int j = 0; j < list.
Count
; j++)
65
for (int j = 0; j < list.
Count
; j++) {
System\Web\Services\Protocols\LogicalMethodInfo.cs (2)
517
int beginsCount = begins == null ? 0 : begins.
Count
;
518
int syncsCount = syncs == null ? 0 : syncs.
Count
;
System\Web\Services\Protocols\SoapClientProtocol.cs (1)
76
for (int i = 0; i < soapMethodList.
Count
; i++) {
System\Web\Services\Protocols\SoapHeader.cs (2)
326
int otherHeaderCount = otherHeaders.
Count
- unknownHeaderCount;
333
for (int i = 0; i < otherHeaders.
Count
; i++) {
System\Web\Services\Protocols\XmlReturnReader.cs (1)
42
if (mappings.
Count
== 0)
System.Windows.Forms (305)
parent\parent\parent\public\Internal\NDP\Inc\IsolationInterop.cs (2)
2522
StoreTransactionOperation[] txnList = new StoreTransactionOperation[_list.
Count
];
2524
for (int i = 0; i != _list.
Count
; i++)
winforms\Managed\System\WinForms\Application.cs (3)
2708
if (messageFilters.
Count
> 0 && f is IMessageModifyAndFilter) {
3589
if (messageFilters.
Count
> 0) {
3590
messageFilterSnapshot = new IMessageFilter[messageFilters.
Count
];
winforms\Managed\System\WinForms\AutoCompleteStringCollection.cs (1)
51
return data.
Count
;
winforms\Managed\System\WinForms\AxHost.cs (7)
2965
PropertyDescriptor[] temp = new PropertyDescriptor[retProps.
Count
];
5529
Object[] rval = new Object[l.
Count
];
5903
AxHost[] axControls = new AxHost[l.
Count
];
5939
if (list.
Count
> 0) {
5940
Object[] temp = new Object[list.
Count
];
7170
if (updateAttrs.
Count
== 0)
7178
Attribute[] temp = new Attribute[attributes.
Count
];
winforms\Managed\System\WinForms\BaseCollection.cs (1)
33
return List.
Count
;
winforms\Managed\System\WinForms\BindingMAnagerBase.cs (3)
134
PropertyDescriptor[] properties = new PropertyDescriptor[listAccessors.
Count
];
147
if (listAccessors.
Count
< offset)
150
if (listAccessors.
Count
== offset) {
winforms\Managed\System\WinForms\BindingSource.cs (1)
1160
ListSortDescription[] result = new ListSortDescription[sorts.
Count
];
winforms\Managed\System\WinForms\ComboBox.cs (7)
4068
return InnerList.
Count
;
4147
Debug.Assert(index>=0 && index <= InnerList.
Count
, "Wrong index for insert");
4159
index = InnerList.
Count
-1;
4223
if (index < 0 || index >= InnerList.
Count
) {
4317
if (index < 0 || index > InnerList.
Count
) {
4359
if (index < 0 || index >= InnerList.
Count
) {
4396
if (index < 0 || index >= InnerList.
Count
) {
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2IManagedPerPropertyBrowsingHandler.cs (1)
193
Attribute[] temp = new Attribute[attrs.
Count
];
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (5)
235
if (attrList.
Count
!= baseCount) {
236
this.baseAttrs = new Attribute[attrList.
Count
];
304
if (attrList.
Count
!= 0 && newAttributes == null) {
309
for (int i=0; i < attrList.
Count
; i++) {
324
Attribute[] temp = new Attribute[newAttributes.
Count
];
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (7)
273
Debug.WriteLineIf(DbgTypeInfoProcessorSwitch.TraceVerbose, "Com2TypeInfoProcessor.GetProperties : returning " + propList.
Count
.ToString(CultureInfo.InvariantCulture) + " properties");
276
Com2PropertyDescriptor[] temp2 = new Com2PropertyDescriptor[propList.
Count
];
509
Attribute[] temp = new Attribute[pi.Attributes.
Count
];
832
Debug.WriteLineIf(DbgTypeInfoProcessorSwitch.TraceVerbose, "ProcessTypeInfoEnum: returning enum with " + strs.
Count
.ToString(CultureInfo.InvariantCulture) + " items");
835
if (strs.
Count
> 0) {
852
if (vars.
Count
> 0 && vars[0] != null) {
857
for (int i = 0; i < strs.
Count
; i++) {
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\ComNativeDescriptor.cs (2)
342
if (attrs == null || attrs.
Count
== 0) {
346
Attribute[] temp = new Attribute[attrs.
Count
];
winforms\Managed\System\WinForms\Control.cs (11)
6717
holders.Add(new ControlTabOrderHolder(holders.
Count
, c.TabIndex, c));
6737
int[] indexes = new int[holders.
Count
];
6739
for (int i = 0; i < holders.
Count
; i++) {
6754
Control[] ctls = new Control[holders.
Count
];
6756
for (int i = 0; i < holders.
Count
; i++) {
6825
holders.Add(new ControlTabOrderHolder(holders.
Count
, tabIndex, ctl));
14905
Control[] stronglyTypedFoundControls = new Control[foundControls.
Count
];
16524
return adviseList.
Count
;
16872
accelCount = (short)mnemonicList.
Count
;
18084
int cnt = adviseList.
Count
;
18611
if (dwConnection > adviseList.
Count
|| adviseList[dwConnection - 1] == null) {
winforms\Managed\System\WinForms\CurrencyManager.cs (1)
569
PropertyDescriptor[] properties = new PropertyDescriptor[listAccessors.
Count
];
winforms\Managed\System\WinForms\DataGrid.cs (1)
5497
if (this.myGridTable != null && this.myGridTable.RelationsList.
Count
!= 0)
winforms\Managed\System\WinForms\DataGridColumnCollection.cs (7)
108
get {return this.items.
Count
;}
203
int itemCount = items.
Count
;
215
int itemCount = items.
Count
;
236
int itemCount = items.
Count
;
259
for (int i = 0; i < items.
Count
; i++)
500
int itemCount = items.
Count
;
533
int itemsCount = items.
Count
;
winforms\Managed\System\WinForms\DataGridParentRows.cs (9)
259
for (int i = 0; i < parents.
Count
; i++) {
334
if (parentsCount == rowHeights.
Count
)
354
if (parentsCount > rowHeights.
Count
) {
355
Debug.Assert(parentsCount == rowHeights.
Count
+ 1 || rowHeights.
Count
== 0, "see bug 82808 for more info, or the comment above");
356
int rowHeightsCount = this.rowHeights.
Count
;
375
Debug.Assert(parentsCount == rowHeights.
Count
- 1, "we do layout only for push/popTop");
379
totalHeight -= (int) rowHeights[rowHeights.
Count
-1];
380
rowHeights.RemoveAt(rowHeights.
Count
- 1);
winforms\Managed\System\WinForms\DataGridRelationshipRow.cs (17)
169
&& this.dgTable.RelationsList.
Count
> 0) {
304
if (this.dgTable.RelationsList.
Count
== 0) {
459
if (this.dgTable.RelationsList.
Count
== 0 || dgTable.DataGrid == null || !dgTable.DataGrid.AllowNavigation)
486
FocusedRelation = this.dgTable.RelationsList.
Count
- 1;
492
if (FocusedRelation == this.dgTable.RelationsList.
Count
- 1) {
540
if (expanded && this.dgTable.RelationsList.
Count
> 0) {
604
bool paintPlusMinus = dgTable.RelationsList.
Count
> 0 && dgTable.DataGrid.AllowNavigation;
713
for (int r = 0; r < this.dgTable.RelationsList.
Count
; ++r) {
797
if (relation >= this.dgTable.RelationsList.
Count
)
831
for (int i=0; i<row.dgTable.RelationsList.
Count
; i++) {
845
if (RelationshipRow.dgTable.RelationsList.
Count
> 0) {
860
if (RelationshipRow.dgTable.RelationsList.
Count
> 0) {
874
if (RelationshipRow.dgTable.RelationsList.
Count
> 0) {
886
return GetChild(GetChildCount() - row.dgTable.RelationsList.
Count
+ focusRel);
1017
if (relationship + 1 < owner.dgTable.RelationsList.
Count
) {
1018
return Parent.GetChild(Parent.GetChildCount() - owner.dgTable.RelationsList.
Count
+ relationship + 1);
1025
return Parent.GetChild(Parent.GetChildCount() - owner.dgTable.RelationsList.
Count
+ relationship - 1);
winforms\Managed\System\WinForms\DataGridRow.cs (2)
827
if (index < cells.
Count
) {
835
return cells.
Count
;
winforms\Managed\System\WinForms\DataGridTable.cs (5)
917
for (int r = 0; r < this.RelationsList.
Count
; ++r) {
928
relationshipRect.Height = BorderWidth + relationshipHeight * this.RelationsList.
Count
;
930
if (this.RelationsList.
Count
> 0)
1396
if (relationsList.
Count
> 0)
1415
if (relationsList.
Count
> 0)
winforms\Managed\System\WinForms\DataGridTableCollection.cs (6)
99
get {return this.items.
Count
;}
166
int itemCount = items.
Count
;
180
for (int i = 0; i < items.
Count
; i++)
244
for (int i = 0; i < items.
Count
; i++) {
268
int itemCount = items.
Count
;
322
int itemsCount = items.
Count
;
winforms\Managed\System\WinForms\DataGridViewCellCollection.cs (2)
114
get {return this.items.
Count
;}
438
int itemsCount = this.items.
Count
;
winforms\Managed\System\WinForms\DataGridViewColumnCollection.cs (21)
122
return this.items.
Count
;
222
int itemCount = this.items.
Count
;
343
while (initialColumns.
Count
> 0)
347
for (index = 0; index < initialColumns.
Count
; index++)
424
DataGridViewColumn[] aColumns = new DataGridViewColumn[this.items.
Count
];
473
int itemCount = this.items.
Count
;
501
if (displayIndex < 0 || displayIndex >= this.items.
Count
)
511
for (int columnIndex = 0; columnIndex < this.items.
Count
; columnIndex++)
553
for (int columnIndex = 0; columnIndex < this.items.
Count
; columnIndex++)
573
for (int columnIndex = 0; columnIndex < this.items.
Count
; columnIndex++)
626
while (index < this.itemsSorted.
Count
)
644
for (int columnIndex = 0; columnIndex < this.items.
Count
; columnIndex++)
682
for(int columnIndex = 0; columnIndex < this.items.
Count
; columnIndex++)
719
while (index < this.itemsSorted.
Count
)
759
while (index < this.itemsSorted.
Count
)
795
int index = this.itemsSorted.
Count
- 1;
842
for (index = 0; index < this.items.
Count
; index++)
866
while (index < this.itemsSorted.
Count
)
914
for (index = 0; index < this.items.
Count
; index++)
1115
int itemsCount = this.items.
Count
;
1139
int itemsCount = this.items.
Count
;
winforms\Managed\System\WinForms\DataGridViewComboBoxCell.cs (8)
2786
return this.InnerArray.
Count
;
2959
if (index < 0 || index >= this.InnerArray.
Count
)
2975
if (index < 0 || index >= this.InnerArray.
Count
)
2991
if (this.InnerArray.
Count
> 0)
3020
int count = this.InnerArray.
Count
;
3031
int count = this.InnerArray.
Count
;
3078
if (index < 0 || index > this.InnerArray.
Count
)
3120
if (index < 0 || index >= this.InnerArray.
Count
)
winforms\Managed\System\WinForms\DataGridViewDataConnection.cs (1)
1054
DataGridViewColumn[] ret = new DataGridViewColumn[cols.
Count
];
winforms\Managed\System\WinForms\DataGridViewMethods.cs (18)
961
for (columnEntry = 0; columnEntry < autoFillColumns.
Count
; columnEntry++)
974
for (columnEntry = 0; columnEntry < autoFillColumns.
Count
; columnEntry++)
996
for (columnEntry = 0; columnEntry < autoFillColumns.
Count
; columnEntry++)
999
if (columnEntry == autoFillColumns.
Count
- 1)
1023
for (columnEntry = 0; columnEntry < autoFillColumns.
Count
; columnEntry++)
1034
for (columnEntry = 0; columnEntry < autoFillColumns.
Count
; columnEntry++)
1047
for (columnEntry = 0; columnEntry < autoFillColumns.
Count
; columnEntry++)
1065
for (columnEntry = 0; columnEntry < autoFillColumns.
Count
; columnEntry++)
1070
float[] floatDesiredWidths = new float[autoFillColumns.
Count
];
1075
for (columnEntry = 0; columnEntry < autoFillColumns.
Count
; columnEntry++)
1084
for (columnEntry = 0; columnEntry < autoFillColumns.
Count
; columnEntry++)
1101
for (columnEntry = 0; columnEntry < autoFillColumns.
Count
; columnEntry++)
1112
for (columnEntry = 0; columnEntry < autoFillColumns.
Count
; columnEntry++)
1130
for (columnEntry = 0; columnEntry < autoFillColumns.
Count
; columnEntry++)
1164
for (columnEntry = 0; columnEntry < autoFillColumns.
Count
; columnEntry++)
1197
while (autoFillColumns.
Count
> 0)
1200
if (autoFillColumns.
Count
== 1)
1209
for (columnEntry = 0; columnEntry < autoFillColumns.
Count
; columnEntry++)
winforms\Managed\System\WinForms\DataGridViewRowCollection.cs (33)
198
return this.items.
Count
;
263
if (index == 0 && this.items.
Count
== 1)
606
Debug.Assert(this.rowStates.Count == this.SharedList.
Count
);
739
int index, indexStart = this.items.
Count
;
888
int indexStart = this.items.
Count
;
923
Debug.Assert(this.rowStates.Count == this.SharedList.
Count
);
957
int rowCount = this.items.
Count
;
979
this.items.
Count
== 0) // accessing AllowUserToAddRowsInternal can trigger a nested call to ClearInternal. Rows count needs to be checked again.
1058
while (index < this.items.
Count
&& !((GetRowState(index) & includeFilter) == includeFilter))
1062
return (index < this.items.
Count
) ? index : -1;
1109
while (index < this.items.
Count
&& (!((GetRowState(index) & includeFilter) == includeFilter) || !((GetRowState(index) & excludeFilter) == 0)))
1113
return (index < this.items.
Count
) ? index : -1;
1149
int index = this.items.
Count
- 1;
1186
while (index < this.items.
Count
&& !((GetRowState(index) & includeFilter) == includeFilter))
1190
return (index < this.items.
Count
) ? index : -1;
1218
while (index < this.items.
Count
&& (!((GetRowState(index) & includeFilter) == includeFilter) || !((GetRowState(index) & excludeFilter) == 0)))
1222
return (index < this.items.
Count
) ? index : -1;
1233
if (indexStart > this.items.
Count
)
1235
throw new ArgumentOutOfRangeException("indexStart", SR.GetString(SR.InvalidHighBoundArgumentEx, "indexStart", (indexStart).ToString(CultureInfo.CurrentCulture), (this.items.
Count
).ToString(CultureInfo.CurrentCulture)));
1265
if (indexStart > this.items.
Count
)
1267
throw new ArgumentOutOfRangeException("indexStart", SR.GetString(SR.InvalidHighBoundArgumentEx, "indexStart", (indexStart).ToString(CultureInfo.CurrentCulture), (this.items.
Count
).ToString(CultureInfo.CurrentCulture)));
1314
for (int rowIndex = 0; rowIndex < this.items.
Count
; rowIndex++)
1384
for (int rowIndex = 0; rowIndex < this.items.
Count
; rowIndex++)
1425
Debug.Assert(toRowIndex == this.items.
Count
|| (GetRowState(toRowIndex) & includeFilter) == includeFilter);
1445
if (rowIndex < 0 || rowIndex >= this.items.
Count
)
1671
Debug.Assert(this.rowStates.Count == this.SharedList.
Count
);
1783
Debug.Assert(this.rowStates.Count == this.SharedList.
Count
);
1812
Debug.Assert(this.rowStates.Count == this.SharedList.
Count
);
1861
Debug.Assert(this.rowStates.Count == this.SharedList.
Count
);
1945
Debug.Assert(this.rowStates.Count == this.SharedList.
Count
);
2474
if (this.items.
Count
> 0)
2673
Debug.Assert(this.
Count
> 0);
2676
CustomQuickSort(0, this.
Count
- 1);
winforms\Managed\System\WinForms\DataGridViewSelectedCellCollection.cs (1)
112
get { return this.items.
Count
; }
winforms\Managed\System\WinForms\DataGridViewSelectedColumnCollection.cs (1)
109
get { return this.items.
Count
; }
winforms\Managed\System\WinForms\DataGridViewSelectedRowCollection.cs (1)
112
get { return this.items.
Count
; }
winforms\Managed\System\WinForms\DataObject.cs (6)
489
string[] temp = new string[distinct.
Count
];
1312
if (this.current < formats.
Count
&& celt > 0) {
1337
if (current + celt >= this.formats.
Count
) {
1352
FORMATETC[] temp = new FORMATETC[formats.
Count
];
2077
string[] temp = new string[formats.
Count
];
2262
string[] temp = new string[formats.
Count
];
winforms\Managed\System\WinForms\Design\EventsTab.cs (1)
184
PropertyDescriptor[] realNamespaceProperties = new PropertyDescriptor[list.
Count
];
winforms\Managed\System\WinForms\DomainUpDown.cs (14)
149
if (value < -1 || value >= Items.
Count
) {
187
for (int i = 0; i < Items.
Count
; i++) {
291
if (domainItems.
Count
<= 0) {
317
if (domainIndex < domainItems.
Count
- 1) {
350
if (domainItems.
Count
<= 0) {
354
startPosition = domainItems.
Count
- 1;
356
if (startPosition >= domainItems.
Count
) {
384
if (index >= domainItems.
Count
) {
463
Debug.Assert(index < domainItems.
Count
&& index >= -1, "SelectValue: index out of range");
464
if (domainItems == null || index < -1 || index >= domainItems.
Count
) {
530
s += ", Items.Count: " + Items.
Count
.ToString(CultureInfo.CurrentCulture);
548
if (domainItems.
Count
<= 0) {
582
SelectIndex(domainItems.
Count
- 1);
859
return ((DomainUpDown)parent.Owner).Items.
Count
;
winforms\Managed\System\WinForms\ErrorProvider.cs (6)
1071
for (int i = 0; i < items.
Count
; i++) {
1096
for (int i = 0; i < items.
Count
; i++) {
1107
for (int i = 0; i < items.
Count
; i++) {
1138
if (items.
Count
== 0) {
1178
for (int i = 0; i < items.
Count
; i++) {
1190
for (int i = 0; i < items.
Count
; i++) {
winforms\Managed\System\WinForms\FileDialog.cs (2)
388
string[] temp = new string[extensions.
Count
];
724
string[] temp = new string[names.
Count
];
winforms\Managed\System\WinForms\Form.cs (5)
4198
if (sites == null || sites.
Count
== 0)
4236
if (zoneList.
Count
== 0)
4242
else if (zoneList.
Count
== 1)
4309
if (siteList.
Count
== 0) {
4323
else if (siteList.
Count
== 1)
winforms\Managed\System\WinForms\ImageList.cs (4)
1032
for (int i = 0; i < imageInfoCollection.
Count
; i++) {
1235
Debug.Assert((this.Count == imageInfoCollection.
Count
), "The count of these two collections should be equal.");
1252
Debug.Assert((this.Count == imageInfoCollection.
Count
), "The count of these two collections should be equal.");
1584
if ((imageInfoCollection != null) && (index >= 0 && index < imageInfoCollection.
Count
)) {
winforms\Managed\System\WinForms\Layout\ArrangedElementCollection.cs (1)
139
get { return InnerList.
Count
; }
winforms\Managed\System\WinForms\Layout\TableLayout.cs (5)
1931
if(rowOffset >= _rows.
Count
) {
1942
while(rowOffset >= _rows.
Count
) {
1968
if(_rows.
Count
> 0) {
2080
for (int i = 0; i < layoutInfos.
Count
; i++) {
2085
for (int j = i + 1; j < layoutInfos.
Count
; j++) {
winforms\Managed\System\WinForms\LinkLabel.cs (22)
232
if (links.
Count
== 0) {
361
if (links.
Count
== 0) {
370
if (links.
Count
== 0) {
710
if (this.links != null && this.links.
Count
== 1) {
770
CharacterRange[] regions = new CharacterRange[ranges.
Count
+ 1];
782
if (links == null || links.
Count
!= 1 || Text == null) {
1003
for (int i=0; i<links.
Count
; i++) {
1039
for (int i=0; i<links.
Count
; i++) {
1346
for (int i=0; i<links.
Count
; i++) {
1583
for (int i=0; i<links.
Count
; i++) {
1641
if (focusIndex < 0 || focusIndex >= links.
Count
) {
1710
if (links.
Count
> 0) {
1730
newFocus = GetNextLinkIndex(links.
Count
, forward); // Count, so "next" will be Count-1
1770
if (links.
Count
== 1) {
1822
for (int i=0; i<links.
Count
; i++) {
1836
for (int x=0; x<links.
Count
; x++) {
1843
for (int y=x; y<links.
Count
; y++) {
2043
return owner.links.
Count
;
2114
if (owner.links.
Count
== 1
2142
if (owner.links.
Count
== 1
2292
bool doLayout = this.owner.links.
Count
> 0 && this.owner.AutoSize;
2350
if (owner.FocusLink == null && owner.links.
Count
> 0) {
winforms\Managed\System\WinForms\ListView.cs (3)
5204
s += ", Items.Count: " + listItemsArray.
Count
.ToString(CultureInfo.CurrentCulture);
5205
if (listItemsArray.
Count
> 0) {
8593
ListViewItem[] stronglyTypedFoundItems= new ListViewItem[foundItems.
Count
];
winforms\Managed\System\WinForms\ListViewGroup.cs (4)
325
return this.List.
Count
;
401
for (int i = 0; i < list.
Count
; i ++) {
416
for (int i = 0; i < this.list.
Count
; i ++) {
459
listView.InsertGroupInListView(this.List.
Count
, group);
winforms\Managed\System\WinForms\ListViewGroupItemCollection.cs (1)
28
return Items.
Count
;
winforms\Managed\System\WinForms\MDIClient.cs (1)
146
Form[] temp = new Form[children.
Count
];
winforms\Managed\System\WinForms\Menu.cs (1)
955
MenuItem[] stronglyTypedfoundMenuItems = new MenuItem[foundMenuItems.
Count
];
winforms\Managed\System\WinForms\MenuStrip.cs (1)
269
if (m.Msg == NativeMethods.WM_MOUSEACTIVATE && (ActiveDropDowns.
Count
== 0)) {
winforms\Managed\System\WinForms\MonthCalendar.cs (13)
270
DateTime[] dateTimes = new DateTime[annualArrayOfDates.
Count
];
272
for (int i=0;i < annualArrayOfDates.
Count
; ++i) {
384
DateTime[] dateTimes = new DateTime[arrayOfDates.
Count
];
386
for (int i=0;i < arrayOfDates.
Count
; ++i) {
665
DateTime[] dateTimes = new DateTime[monthlyArrayOfDates.
Count
];
667
for (int i=0;i < monthlyArrayOfDates.
Count
; ++i) {
1335
int numDates = arrayOfDates.
Count
;
1781
int length = annualArrayOfDates.
Count
;
1806
int length = arrayOfDates.
Count
;
1825
int length = monthlyArrayOfDates.
Count
;
2172
return annualArrayOfDates.
Count
> 0;
2176
return arrayOfDates.
Count
> 0;
2196
return monthlyArrayOfDates.
Count
> 0;
winforms\Managed\System\WinForms\PropertyGrid.cs (2)
4441
int items = buttonList.
Count
;
4514
for (int j = 0; j < buttonList.
Count
; j++) {
winforms\Managed\System\WinForms\PropertyGridInternal\MultiSelectRootGridEntry.cs (5)
98
MultiPropertyDescriptorGridEntry[] entries = new MultiPropertyDescriptorGridEntry[props.
Count
];
114
PropertyDescriptor[] firstPds = new PropertyDescriptor[firstProps.
Count
];
115
for (int i = 0; i < firstProps.
Count
; i++) {
121
MultiPropertyDescriptorGridEntry[] entries = new MultiPropertyDescriptorGridEntry[props.
Count
];
287
int len = sortedMergedEntries.
Count
;
winforms\Managed\System\WinForms\PropertyGridInternal\SingleSelectRootGridEntry.cs (3)
337
if (bin.
Count
> 0) {
338
GridEntry[] rgpes = new GridEntry[bin.
Count
];
349
childEntries = new GridEntry[propList.
Count
];
winforms\Managed\System\WinForms\Screen.cs (2)
126
if (closure.screens.
Count
> 0) {
127
Screen[] temp = new Screen[closure.screens.
Count
];
winforms\Managed\System\WinForms\TableLayoutStyleCollection.cs (1)
118
public int Count { get { return _innerList.
Count
; }}
winforms\Managed\System\WinForms\ToolStripDropDown.cs (5)
1296
this.ActiveDropDowns.
Count
== 0) {
2191
Debug.WriteLineIf((DropDownActivateDebug.TraceVerbose && ActiveDropDowns.
Count
> 0), "Dismiss children called - COUNT " + ActiveDropDowns.
Count
+ " \r\n" + new StackTrace().ToString());
2192
int count = ActiveDropDowns.
Count
;
2205
for (int i = 0; i < dropDowns.
Count
; i++) {
winforms\Managed\System\WinForms\ToolStripItemCollection.cs (1)
271
ToolStripItem[] stronglyTypedFoundItems = new ToolStripItem[foundItems.
Count
];
winforms\Managed\System\WinForms\ToolStripMenuItem.cs (1)
1411
if (toolStrip.IsDropDown && toolStrip.ActiveDropDowns.
Count
> 0) {
winforms\Managed\System\WinForms\ToolStripPanelRow.cs (2)
2282
if (index >= array.Length || InnerList.
Count
> array.Length - index) {
2286
for (int i = 0; i < InnerList.
Count
; i++) {
winforms\Managed\System\WinForms\ToolStripSettings.cs (1)
169
if (toolStripSettingsToApply.
Count
== 0) {
winforms\Managed\System\WinForms\TreeNodeCollection.cs (1)
269
TreeNode[] stronglyTypedFoundNodes = new TreeNode[foundNodes.
Count
];
winforms\Managed\System\WinForms\TrustManager.cs (4)
130
Debug.Assert(matchingTrusts != null && matchingTrusts.
Count
> 0);
137
Debug.Assert(matchingTrusts != null && matchingTrusts.
Count
> 0);
553
while (entry < matchingTrusts.
Count
)
590
return matchingTrusts.
Count
> 0;
winforms\Managed\System\WinForms\WebBrowserContainer.cs (2)
54
if (list.
Count
> 0) {
55
Object[] temp = new Object[list.
Count
];
System.Windows.Forms.DataVisualization (85)
Common\ChartTypes\AreaChart.cs (1)
759
while((pointIndex + indexOffset) < points.
Count
)
Common\ChartTypes\BoxPlotChart.cs (3)
1754
if(unusualValuesList.
Count
> 0)
1757
double[] newYValues = new double[6 + unusualValuesList.
Count
];
1766
for(int index = 0; index < unusualValuesList.
Count
; index++)
Common\ChartTypes\FunnelChart.cs (2)
1795
if(pointIndex > this.segmentList.
Count
&& !ShouldDrawFirstPoint() )
1798
pointIndex = this.segmentList.
Count
;
Common\ChartTypes\KagiChart.cs (1)
791
if((pointIndex + 1) < points.
Count
)
Common\ChartTypes\LineChart.cs (2)
1306
if(dataPointDrawingOrder.
Count
> 0)
1576
for(int pointIndex = 1; pointIndex < points.
Count
; pointIndex++)
Common\ChartTypes\PieChart.cs (4)
1970
for( int index = 0; index < _labelsRectangles.
Count
; index++ )
1991
for( int index = 0; index < _labelsRectangles.
Count
; index++ )
2023
for( int index = 0; index < _labelsRectangles.
Count
; index++ )
2044
for( int index = 0; index < _labelsRectangles.
Count
; index++ )
Common\ChartTypes\PointChart.cs (2)
1251
this.label3DInfoList.
Count
> 0 &&
1252
((Label3DInfo)this.label3DInfoList[this.label3DInfoList.
Count
-1]).PointEx.zPosition != pointEx.zPosition)
Common\ChartTypes\RangeChart.cs (1)
1031
if((pointIndex + 1) < points.
Count
)
Common\ChartTypes\StackedAreaChart.cs (9)
534
if(prevPointsArray != null && index < prevPointsArray.
Count
)
555
if(prevPointsArray != null && index < prevPointsArray.
Count
)
569
if(prevPointsArray != null && index < prevPointsArray.
Count
)
847
if(prevPointsArray != null && index < prevPointsArray.
Count
)
863
if(prevPointsArray != null && index < prevPointsArray.
Count
)
876
if(prevPointsArray != null && index < prevPointsArray.
Count
)
953
if(prevPointsArray != null && index < prevPointsArray.
Count
)
969
if(prevPointsArray != null && index < prevPointsArray.
Count
)
982
if(prevPointsArray != null && index < prevPointsArray.
Count
)
Common\ChartTypes\StackedBarChart.cs (4)
644
for(int groupIndex = 0; groupIndex < this.stackGroupNames.
Count
; groupIndex++)
727
width = width / (double)this.stackGroupNames.
Count
;
776
if(this.stackGroupNames.
Count
> 1)
778
xPosition = xPosition - width * ((double) this.stackGroupNames.
Count
) / 2.0 + width / 2.0 + groupIndex * width;
Common\ChartTypes\StackedColumnChart.cs (5)
654
for(int groupIndex = 0; groupIndex < this.stackGroupNames.
Count
; groupIndex++)
736
width = width / (double)this.stackGroupNames.
Count
;
822
if(this.stackGroupNames.
Count
> 1)
824
xPosition = xPosition - width * ((double) this.stackGroupNames.
Count
) / 2.0 + width / 2.0 + groupIndex * width;
1056
Series[] arrayOfSeries = new Series[list.
Count
];
Common\ChartTypes\StepLineChart.cs (1)
302
if((pointIndex + 1) < points.
Count
)
Common\ChartTypes\ThreeLineBreakChart.cs (3)
413
for(int index = 0; index < highLowHistory.
Count
; index += 2)
431
for(int index = 1; index < highLowHistory.
Count
; index += 2)
501
if(highLowHistory.
Count
> linesInBreak * 2)
Common\Converters\CustomAttributesConverters.cs (1)
421
Attribute[] propAttributes = new Attribute[propList.
Count
];
Common\Formulas\FormulaRegistry.cs (1)
166
return _modulesNames.
Count
;
Common\General\Axis.cs (2)
4124
for(int index = 0; fitDone && index < labelPositions.
Count
; index++)
4127
for(int index2 = index + 1; fitDone && index2 < labelPositions.
Count
; index2++)
Common\General\AxisLabels.cs (1)
257
if (this.GetAxisSeries().
Count
> 0)
Common\General\AxisScale.cs (1)
1206
if( _stripLineOffsets.
Count
> index )
Common\General\AxisScaleBreaks.cs (3)
847
if(emptySequences.
Count
> 0)
927
for(int index = 0; index < excludedSegments.
Count
; index += 2)
970
if (axisSeries.
Count
== 0 || numberOfPoints == 0)
Common\General\Chart.cs (12)
575
else if (names.
Count
== 0 && dataSource is ITypedList)
585
else if (names.
Count
== 0 && dataSource is IEnumerable)
604
if (names.
Count
== 0)
983
if(seriesList.
Count
== 0)
1064
for(int index = 0; index < axisLabels.
Count
; index++)
1202
if(seriesList.
Count
> 0)
1374
for (int i = 0; i < dataSourceFields.
Count
; i++)
1390
if (parseSucceed && index >= 0 && index < dataSourceFields.
Count
)
1398
int seriesNumber = dataSourceFields.
Count
;
3043
if(areaList.
Count
> 0)
3075
if(alignGroup.
Count
> 0)
3087
if(alignGroup.
Count
> 0)
Common\General\ChartArea.cs (3)
2115
if (!requireAxes && ChartTypes.
Count
!= 0)
2121
for (int chartTypeIndex = 0; chartTypeIndex < ChartTypes.
Count
; chartTypeIndex++)
2968
if (this.ChartTypes.
Count
> 1 &&
Common\General\ChartArea3D.cs (2)
996
seriesNumber = stackGroupNames.
Count
;
1689
return this._stackGroupNames.
Count
;
Common\General\ChartAreaAxes.cs (5)
1258
if(list.
Count
> 0)
1261
string[] stringArray = new String[list.
Count
];
1834
for( int point = 1; point < seriesXValues[seriesIndex].
Count
; point++ )
1905
for(int pointIndex = 0; pointIndex < xList.
Count
&& !sameXValue; pointIndex++)
1912
if( (pointIndex < seriesXValues[index].
Count
&& (double)seriesXValues[index][pointIndex] == xValue) ||
Common\General\ChartGraphics.cs (2)
1623
if (common.HotRegionsList.List != null && common.HotRegionsList.List.
Count
> 0)
1625
((HotRegion)common.HotRegionsList.List[common.HotRegionsList.List.
Count
- 1]).Type =
Common\General\ChartGraphics3D.cs (4)
1393
if(firtsSplinePointIndex >= (points.
Count
- 2) )
1591
if((pointIndex + 1) < points.
Count
)
1998
if((pointIndex + 1) < points.
Count
)
2698
if(neighborPointIndex < (points.
Count
- 2))
Common\General\DataManipulator.cs (1)
2964
pointTempValues[functionInfo.outputIndex] = uniqueValues.
Count
;
Common\General\Selection.cs (4)
1117
_regionList.Insert( _regionList.
Count
- 1, region );
2013
if (regionList.
Count
== 0)
2044
for (int index = regionList.
Count
- 1; index >= 0; index--)
2635
for (int i = hrList.List.
Count
- 1; i >= 0; i--)
Common\General\SmartLabels.cs (4)
690
bool rememberMarkersCount = (this.smartLabelsPositions.
Count
== 0);
694
this.markersCount = this.smartLabelsPositions.
Count
;
1318
if(this.smartLabelsPositions.
Count
== 0 && area != null)
1667
if(this.smartLabelsPositions.
Count
== 0 &&
Common\Utilities\XmlSerializer.cs (1)
990
for(int itemIndex = 0; itemIndex < contentList.
Count
; itemIndex += 2)
System.Workflow.Activities (1)
InvokeWebService.cs (1)
506
if (invokeWebService.ParameterBindings.Count > paramInfos.
Count
)
System.Workflow.ComponentModel (42)
AuthoringOM\Compiler\CompileXomlTask.cs (1)
226
if (xomlFilesOnly.
Count
> 0)
AuthoringOM\DependencyObject.cs (4)
393
if (eventListeners.
Count
== 0)
410
if (handlers != null && handlers.
Count
!= 0)
412
if (handlers.
Count
== 1)
417
for (int i = 1; i < handlers.
Count
; ++i)
AuthoringOM\Design\CommandSet.cs (2)
520
for (int i = 0; i < selectedObjects.
Count
&& enabled; i++)
850
if (componentList.
Count
> 0)
AuthoringOM\Design\Dialogs\TypeBrowserDialog.cs (1)
879
if ((namespaceToFilter == null || type.Namespace == namespaceToFilter) && ((selectedAssemblies.
Count
== 0 && type.Assembly == null) || selectedAssemblies.Contains(type.Assembly)) && (this.typeFilterProvider == null || this.typeFilterProvider.CanFilterType(extendedUIService != null ? extendedUIService.GetRuntimeType(type) : type, false)))
AuthoringOM\Design\FreeFormDesigner.cs (4)
631
if ((navigate == DesignerNavigationDirection.Left || navigate == DesignerNavigationDirection.Up) && index >= 0 && index < activityDesigners.
Count
)
632
nextObject = ((ActivityDesigner)activityDesigners[(index > 0) ? index - 1 : activityDesigners.
Count
- 1]).Activity;
633
else if ((navigate == DesignerNavigationDirection.Right || navigate == DesignerNavigationDirection.Down) && index <= activityDesigners.
Count
- 1)
634
nextObject = ((ActivityDesigner)activityDesigners[(index < activityDesigners.
Count
- 1) ? index + 1 : 0]).Activity;
AuthoringOM\Design\MessageFilters\DragSelectionMessageFilter.cs (1)
221
if (selectableComponents.
Count
> 0 && selectionService != null)
AuthoringOM\Design\MessageFilters\ResizingMessageFilter.cs (1)
160
for (int i = 0; i < selectedComponents.
Count
&& designerToResize == null; i++)
AuthoringOM\Design\MessageFilters\WindowManager.cs (1)
145
for (int i = 0; i < selectedComponents.
Count
; i++)
AuthoringOM\Design\ReferenceService.cs (7)
104
if (this.addedComponents != null && this.addedComponents.
Count
> 0)
118
if (this.removedComponents != null && this.removedComponents.
Count
> 0)
126
if (this.changedComponents != null && this.changedComponents.
Count
> 0)
206
int size = this.references.
Count
;
289
object[] references = new object[this.references.
Count
];
303
ArrayList results = new ArrayList(this.references.
Count
);
311
object[] references = new object[results.
Count
];
AuthoringOM\Design\WinOEToolBoxItem.cs (1)
90
IComponent[] temp = new IComponent[comps.
Count
];
AuthoringOM\Design\WorkflowLayouts.cs (1)
619
headerFooterData.TotalPages = this.pageLayoutInfo.
Count
;
AuthoringOM\Design\WorkflowView.cs (1)
1711
for (int i = selectedComponents.
Count
- 1; i >= 0; i--)
AuthoringOM\Serializer\DictionarySurrogate.cs (2)
35
if (keys.
Count
== 1)
40
else if (keys.
Count
> 1)
AuthoringOM\Serializer\FormatterServicesNoSerializableCheck.cs (3)
157
if (allMembers != null && allMembers.
Count
> 0)
159
MemberInfo[] membersTemp = new MemberInfo[allMembers.
Count
+ typeMembers.Length];
164
string[] namesTemp = new string[allNames.
Count
+ typeNames.Length];
AuthoringOM\Serializer\GenericQueueSurrogate.cs (1)
26
if (items.
Count
== 1)
AuthoringOM\Serializer\ListSurrogate.cs (1)
26
if (items.
Count
== 1)
AuthoringOM\Serializer\WorkflowMarkupSerializer.cs (10)
2545
for (int i = 0; i < argTokens.
Count
; i++)
2550
if (positionalArgs.
Count
> 0 && firstEqual)
2551
positionalArgs.RemoveAt(positionalArgs.
Count
- 1);
2563
if (positionalArgs.
Count
> 0)
2571
if (parameters.Length == positionalArgs.
Count
)
2581
for (int i = 0; i < positionalArgs.
Count
; i++)
2780
else if (list.
Count
== 0 || list[list.
Count
- 1] is Char)
2804
else if (list.
Count
> 0 && (list[list.
Count
- 1] is Char))
System.Workflow.Runtime (1)
DebugEngine\DebugController.cs (1)
565
LoadExistingScheduleType(GetScheduleTypeId(scheduleDefHash), rootActivity.GetType(), (changeActions != null && changeActions.
Count
!= 0), rootActivity);
System.Xml (112)
System\Xml\Core\XsdValidatingReader.cs (3)
1034
else if (defaultAttributes.
Count
> 0) { //check for default
1712
attributeCount += defaultAttributes.
Count
;
1783
for (int i = 0; i < defaultAttributes.
Count
; i++) {
System\Xml\Dom\DocumentSchemaValidator.cs (1)
381
for (int i = 0; i < defaultAttributes.
Count
; i++) {
System\Xml\Dom\XmlDocument.cs (1)
239
if (elementList.
Count
== 0)
System\Xml\Dom\XmlNamedNodeMap.SmallXmlNodeList.cs (1)
30
return list.
Count
;
System\Xml\Schema\Asttree.cs (10)
131
get {return this.stack.
Count
; }
186
for (int i = 0; i < this.stack.
Count
; ++i) {
204
for (int i = 0; i < this.stack.
Count
; ++i) {
230
for (int i = 0; i < this.stack.
Count
; ++i) {
267
this.axisStack = new ArrayList(axisTree.SubtreeArray.
Count
); // defined length
269
for (int i = 0; i < axisTree.SubtreeArray.
Count
; ++i) {
284
for (int i = 0; i < this.axisStack.
Count
; ++i) {
315
for (int i = 0; i < this.axisStack.
Count
; ++i) {
328
for (int i = 0; i < this.axisStack.
Count
; ++i) {
507
for (int i = 0; i < AstArray.
Count
; ++i) {
System\Xml\Schema\BaseValidator.cs (1)
155
Debug.Assert(names.
Count
> 0);
System\Xml\Schema\ConstraintStruct.cs (1)
109
if (KSpointer < KSs.
Count
) {
System\Xml\Schema\ContentValidator.cs (4)
84
Debug.Assert(particles.
Count
== last + 1);
117
Debug.Assert(particles.
Count
== last + 1);
224
get { return positions.
Count
; }
951
for (int i = 0; i < grp.Members.
Count
; ++i) {
System\Xml\Schema\DataTypeImplementation.cs (2)
1025
if (values.
Count
< minListSize) {
2846
for (int i = 0; i < dt.Restriction.Enumeration.
Count
; ++i) {
System\Xml\Schema\FacetChecker.cs (11)
720
for (int i = 0; i < restriction.Patterns.
Count
; ++i) {
905
for (int i = 0; i < enumeration.
Count
; ++i) {
984
for (int i = 0; i < enumeration.
Count
; ++i) {
1039
for (int i = 0; i < enumeration.
Count
; ++i) {
1095
for (int i = 0; i < enumeration.
Count
; ++i) {
1167
for (int i = 0; i < enumeration.
Count
; ++i) {
1174
for (int i = 0; i < enumeration.
Count
; ++i) {
1274
for (int i = 0; i < enumeration.
Count
; ++i) {
1327
for (int i = 0; i < enumeration.
Count
; ++i) {
1375
for (int i = 0; i < enumeration.
Count
; ++i) {
1399
for (int i = 0; i < enumeration.
Count
; ++i) {
System\Xml\Schema\Inference\Infer.cs (2)
370
if (col != null && col.
Count
> 0)
541
if (col != null && col.
Count
> 0 )
System\Xml\Schema\Preprocessor.cs (1)
132
for (int i = 0; i < redefinedList.
Count
; ++i) {
System\Xml\Schema\SchemaCollectionCompiler.cs (4)
341
if (substitutionGroup.IsProcessing && substitutionGroup.Members.
Count
> 0) {
355
for (int i = 0; i < substitutionGroup.Members.
Count
; ++i) {
372
else if (substitutionGroup.Members.
Count
> 0) {
381
for (int i = 0; i < substitutionGroup.Members.
Count
; ++i) {
System\Xml\Schema\SchemaSetCompiler.cs (5)
383
if (substitutionGroup.IsProcessing && substitutionGroup.Members.
Count
> 0) {
399
for (int i = 0; i < substitutionGroup.Members.
Count
; ++i) {
406
for (int j = 0; j < g.Members.
Count
; ++j) {
418
for (int i = 0; i < newMembers.
Count
; ++i) {
979
for (int i = 0; i < substitutionGroup.Members.
Count
; ++i) {
System\Xml\Schema\XmlSchemaSet.cs (12)
450
for (int i = 0; i < schemaToRemove.ImportedNamespaces.
Count
; i++) {
471
for (int i = 0; i < needToCheckSchemaList.
Count
; i++) { //Perf: Not using nested foreach here
474
if (mainSchema.ImportedNamespaces.
Count
> 0) {
485
for (int i = 0; i < schemaToRemove.ImportedSchemas.
Count
; ++i) {
657
for (int i = 0; i < schema.ImportedSchemas.
Count
; ++i) { //Once preprocessed external schemas property is set
844
if (schema.ImportedSchemas.
Count
> 0) { //Check imports
846
for (int i = 0; i < schema.ImportedSchemas.
Count
; ++i) {
929
for (int i = 0; i < schema.ImportedSchemas.
Count
; ++i) { //Once preprocessed external schemas property is set
956
for (int i = 0; i < substGroup.Members.
Count
; ++i) {
974
for (int i = 0; i < substitutionGroup.Members.
Count
; ++i) {
981
for (int j = 0; j < g.Members.
Count
; ++j) {
1265
for (int j = 0; j < removalList.
Count
; ++j) {
System\Xml\Schema\XmlSchemaValidator.cs (15)
321
for (int i = 0; i < schema.ImportedSchemas.
Count
; ++i) { //Check for its imports
706
if (names == null || names.
Count
== 0) {
710
Debug.Assert(names.
Count
> 0);
1883
for (int k = 0; k < constraintStructures[j].axisFields.
Count
; ++k) {
1918
for (int j = 0; j < constraintStructures[i].axisFields.
Count
; ++j) {
1957
for (int j = 0; j < constraints[i].axisFields.
Count
; ++j) {
2116
if (names == null || names.
Count
== 0) {
2125
Debug.Assert(names.
Count
> 0);
2157
if (names == null || names.
Count
== 0) {
2164
Debug.Assert(names.
Count
> 0);
2183
if (expected.
Count
== 1) {
2187
for (int i=1; i < expected.
Count
; i++) {
2218
for (int i = 1; i < expected.
Count
; ++i) {
2229
if (expected.
Count
== 1) { //In case of one element in a namespace or any
2246
for (int i = 0; i < expected.
Count
; i++) {
System\Xml\Schema\XsdBuilder.cs (1)
768
if (this.unhandledAttributes.
Count
!= 0) {
System\Xml\Schema\XsdValidator.cs (3)
780
for (int k = 0; k < constraints[j].axisFields.
Count
; ++k) {
817
for (int j = 0; j < constraints[i].axisFields.
Count
; ++j) {
861
for (int j = 0; j < constraints[i].axisFields.
Count
; ++j) {
System\Xml\Serialization\CodeIdentifiers.cs (1)
166
Array array = Array.CreateInstance(type, list.
Count
);
System\Xml\Serialization\Compilation.cs (1)
285
for (int i = 0; i < list.
Count
; i++) {
System\Xml\Serialization\ImportContext.cs (5)
139
for (int i = 0; i < list.
Count
; i++) {
180
for (int i = 0; i < list.
Count
; i++) {
191
for (int i = 0; i < list.
Count
; i++) {
194
tmp += (int)cachedHash/list.
Count
;
204
for (int i = 0; i < items.
Count
; i++) {
System\Xml\Serialization\Mappings.cs (2)
1166
if (srcSchemas.
Count
== 0) {
1169
if (srcSchemas.
Count
> 1) {
System\Xml\Serialization\SchemaObjectWriter.cs (4)
185
for (int i = 0; i < attrs.
Count
; i++) {
243
for (int i = 0; i < list.
Count
; i++) {
500
for (int i = 0; i < list.
Count
; i++) {
547
for (int ia = 0; ia < a.
Count
; ia++) {
System\Xml\Serialization\SoapReflectionImporter.cs (1)
544
if (constants.
Count
== 0) {
System\Xml\Serialization\XmlReflectionImporter.cs (5)
523
if (srcSchemas.
Count
== 0) {
526
if (srcSchemas.
Count
> 1) {
791
for (int i = 0; i < members.
Count
; i++) {
1064
if (constants.
Count
== 0) {
2002
return list.
Count
;
System\Xml\Serialization\XmlSerializationReader.cs (6)
1465
for (int i = 0; i < fixups.
Count
; i++) {
1471
for (int i = 0; i < collectionFixups.
Count
; i++) {
1850
if(xmlNodeList.
Count
<= skippableNodeCount)
2422
if (attributeMembersList.
Count
> 0) {
3516
if (attributes.
Count
> 0) {
3520
for (int i = 0; i < attributes.
Count
; i++) {
System\Xml\Serialization\XmlSerializationReaderILGen.cs (3)
524
if (attributeMembersList.
Count
> 0) {
2057
if (attributes.
Count
> 0) {
2060
for (int i = 0; i < attributes.
Count
; i++) {
System\Xml\Serialization\XmlSerializationWriter.cs (1)
1250
for (int i = 0; i < referencesToWrite.
Count
; i++) {
System\Xml\XPath\Internal\QueryBuilder.cs (3)
324
if (root.ArgumentList != null && root.ArgumentList.
Count
> 0) {
347
if (root.ArgumentList != null && root.ArgumentList.
Count
> 0) {
380
int numArgs = args != null ? args.
Count
: 0;
System\Xml\XPath\Internal\XPathMultyIterator.cs (1)
23
this.arr = new ResetableIterator[inputArray.
Count
];
System\Xml\XPath\Internal\XPathParser.cs (1)
465
int argCount = argList.
Count
;
UIAutomationClient (12)
MS\Internal\Automation\ClientEventManager.cs (5)
174
for (int i = _listeners.
Count
- 1; i >= 0; i--)
252
if (_listeners.
Count
== 0)
314
for (int i = _listeners.
Count
- 1; i >= 0; i--)
574
for (int i = 0; i < _listeners.
Count
; i++)
638
for (int i = 0; i < _listeners.
Count
; i++)
MS\Internal\Automation\ProxyManager.cs (3)
167
count += ((ArrayList)o).
Count
;
534
if (proxy == null && _partialClassHandlers.
Count
> 0)
614
count = array.
Count
;
MS\Internal\Automation\WinEventWrap.cs (4)
101
if (_clientCallbacks.
Count
== 0)
106
listIsEmpty = (_clientCallbacks.
Count
== 0);
176
object[] handlers = new object[_clientCallbacks.
Count
];
177
for (int i = 0; i < _clientCallbacks.
Count
; i++)
UIAutomationClientsideProviders (21)
MS\Internal\AutomationProxies\ClickablePoint.cs (2)
426
for (int i = 0, c = alIn.
Count
; i < c; i++)
445
for (int i = 0, c = al.
Count
; i < c; i++)
MS\Internal\AutomationProxies\MSAANativeProvider.cs (1)
119
for (int i = actualParentChain.
Count
- 1; i >= 0; i--)
MS\Internal\AutomationProxies\ProxyHwnd.cs (2)
551
WinEventTracker.EvtIdProperty [] aEvtIdProperties = new WinEventTracker.EvtIdProperty [alEvents.
Count
];
553
cEvent = alEvents.
Count
;
MS\Internal\AutomationProxies\WindowsEditBoxRange.cs (1)
304
Rect[] rectArray = new Rect[rects.
Count
];
MS\Internal\AutomationProxies\WindowsListViewGroupHelper.cs (7)
150
if (index >= _groups.
Count
)
159
int count = _groups.
Count
;
171
int count = _groups.
Count
;
188
if (index >= _groups.
Count
)
198
return _groups.
Count
;
203
int count = _groups.
Count
;
364
int count = _groups.
Count
;
MS\Internal\AutomationProxies\WindowsRichEditRange.cs (1)
226
Rect[] rectArray = new Rect[rects.
Count
];
MS\Internal\AutomationProxies\WindowsTab.cs (1)
414
int count = list.
Count
;
MS\Internal\AutomationProxies\WinEventTracker.cs (6)
249
for (int index = eventCreateParams.
Count
- 1; index >= 0; index--)
302
for (int index = eventCreateParams.
Count
- 1; index >= 0; index--)
419
for (int index = eventCreateParams.
Count
- 1; index >= 0; index--)
437
if (eventCreateParams.
Count
== 0)
453
for (int index = eventCreateParams.
Count
- 1; index >= 0; index--)
477
if (eventCreateParams.
Count
== 0)
WindowsBase (20)
Base\MS\Internal\IO\Zip\ZipIOBlockManager.cs (5)
835
Invariant.Assert(_blockList.
Count
>= _requiredBlockCount);
845
return _blockList.
Count
- _requiredBlockCount;
910
int blockListCount = _blockList.
Count
;
977
for (int i = 0; i < _blockList.
Count
; i++)
1173
for (int blockIndex = _blockList.
Count
- 1; blockIndex >= 0; --blockIndex)
Base\MS\Internal\IO\Zip\ZipIOLocalFileBlock.cs (4)
476
if (_blockManager.Streaming && _exposedPublicStreams != null && _exposedPublicStreams.
Count
> 0)
478
Debug.Assert(_exposedPublicStreams.
Count
== 1, "Should only be one stream returned in streaming mode");
862
for (int i = _exposedPublicStreams.
Count
- 1; i >= 0; i--)
891
if ((_exposedPublicStreams == null) ||(_exposedPublicStreams.
Count
== 0))
Base\MS\Internal\Security\RightsManagement\ClientSession.cs (1)
668
for (int i = 0; i < newList.
Count
; i++)
Base\System\IO\Packaging\CompoundFile\DataSpaceManager.cs (3)
703
List<IDataTransform> dataTransforms = new List<IDataTransform>(transformsList.
Count
);
705
for (int i = 0; i < transformsList.
Count
; i++)
1295
definitionWriter.Write( definition.TransformStack.
Count
);
Shared\MS\Internal\CopyOnWriteList.cs (2)
159
for(int i = 0; i < _LiveList.
Count
; i++)
179
if(index <0 || index >= _LiveList.
Count
)
Shared\MS\Internal\WeakReferenceEnumerator.cs (1)
63
while( _i < _List.
Count
)
Shared\MS\Internal\WeakReferenceList.cs (4)
73
count = base.LiveList.
Count
;
105
if (LiveList.
Count
== LiveList.Capacity)
183
for(int i = 0; i < list.
Count
; i++)
224
int n = list.
Count
;
WsatUI (3)
MMCUI\WsatSecurityModel.cs (3)
157
for (int i = 0; i < kerb.
Count
; i++)
175
for (int i = indexesOfInvalidItems.
Count
- 1; i >= 0; i--)
181
if (kerb.
Count
<= 0)