3 overrides of Count
System.Xml (3)
System\Xml\Dom\XmlChildNodes.cs (1)
28public override int Count {
System\Xml\Dom\XmlElementList.cs (1)
211public override int Count {
System\Xml\Dom\XPathNodeList.cs (1)
25public override int Count {
75 references to Count
ComSvcConfig (1)
EndpointConfigContainer.cs (1)
776if (supportedRuntimes.Count == 0)
PresentationBuildTasks (2)
BuildTasks\Microsoft\Build\Tasks\Windows\GenerateTemporaryTargetAssembly.cs (2)
393for (int i = 0; i < root.ChildNodes.Count; i++) 406for (int j = 0; j < nodeGroup.ChildNodes.Count; j++)
PresentationFramework (9)
src\Framework\MS\Internal\Data\XmlBindingWorker.cs (1)
561nodeList.GetType().Name, AvTrace.GetHashCodeHelper(nodeList), nodeList.Count);
src\Framework\MS\Internal\Data\XmlDataCollection.cs (5)
79if (count != nodes.Count) 99while (i < this.Count && i < nodes.Count) 104for (j = i + 1; j < nodes.Count; ++j) 111if (j < nodes.Count) 143while (i < nodes.Count)
src\Framework\MS\Internal\Globalization\BamlTreeUpdater.cs (2)
445for (int i = 0; i < root.ChildNodes.Count && succeed; i++) 592for (int i = 0; i < child.ChildNodes.Count && succeed; i++)
src\Framework\MS\Internal\IO\Packaging\XmlFixedPageInfo.cs (1)
119_glyphRunList = new XmlGlyphRunInfo[NodeList.Count];
System.Data (4)
fx\src\data\System\Data\DataSet.cs (2)
2066if (root.ChildNodes.Count == 0 || 2067((root.ChildNodes.Count == 1) && root.FirstChild.GetType() == typeof(System.Xml.XmlText))) {
fx\src\data\System\NewXml\XmlBoundElement.cs (1)
327int tempint = tempNodeList.Count;
fx\src\data\System\NewXml\XmlDataDocument.cs (1)
2731int tempint = tempNodeList.Count;
System.Data.Services.Design (1)
System\Data\EntityModel\DataServiceBuildProvider.cs (1)
469if (parameters != null && parameters.Count != 0)
System.IdentityModel (6)
System\IdentityModel\Configuration\ConfigurationElementInterceptor.cs (1)
74if ( ( elementXml != null ) && ( ElementAsXml.ChildNodes.Count != 0 ) )
System\IdentityModel\Configuration\IssuerNameRegistryElement.cs (1)
27return (ElementInformation.Properties[ConfigurationStrings.Type].ValueOrigin != PropertyValueOrigin.Default) || ((ChildNodes != null) && (ChildNodes.Count > 0));
System\IdentityModel\Configuration\TypeResolveHelper.cs (1)
58if (customTypeElement.ElementAsXml != null && customTypeElement.ElementAsXml.ChildNodes.Count > 0)
System\IdentityModel\Tokens\GenericXmlSecurityKeyIdentifierClause.cs (3)
60if (!newNode.HasChildNodes || originalNode.ChildNodes.Count != newNode.ChildNodes.Count) 64for (int i = 0; i < originalNode.ChildNodes.Count; i++)
System.Runtime.Serialization (1)
System\Runtime\Serialization\SchemaImporter.cs (1)
1306if (typeElement.ChildNodes.Count > 0) //Generic Type
System.ServiceModel (20)
System\ServiceModel\Channels\ContextBindingElementPolicy.cs (2)
90&& assertion.ChildNodes.Count == 0) 102if (parent.ChildNodes.Count == 0)
System\ServiceModel\Channels\OneWayBindingElementImporter.cs (1)
37for (int i = 0; i < oneWayAssertion.ChildNodes.Count; i++)
System\ServiceModel\Channels\PeerSecurityHelpers.cs (2)
443if (element.ChildNodes.Count != 1) 629if (child.ChildNodes.Count == 1)
System\ServiceModel\Security\SspiNegotiationTokenProvider.cs (1)
121for (int i = 0; i < rstrClone.ChildNodes.Count; ++i)
System\ServiceModel\Security\Tokens\IssuedSecurityTokenParameters.cs (1)
850if (claimTypeRequirement != null && claimTypeRequirement.ChildNodes.Count == 1)
System\ServiceModel\Security\WSTrust.cs (8)
260for (int i = 0; i < rstXml.ChildNodes.Count; ++i) 356for (int i = 0; i < rstrXml.ChildNodes.Count; ++i) 426for (int i = 0; i < rootElement.ChildNodes.Count; ++i) 517for (int i = 0; i < rstr.RequestSecurityTokenResponseXml.ChildNodes.Count; ++i) 559for (int i = 0; i < rootElement.ChildNodes.Count; ++i) 595for (int i = 0; i < rootElement.ChildNodes.Count; ++i) 619for (int i = 0; i < rstr.RequestSecurityTokenResponseXml.ChildNodes.Count; ++i) 896for (int i = 0; i < rstrXml.ChildNodes.Count; ++i)
System\ServiceModel\Security\WSTrustFeb2005.cs (3)
129for (int i = 0; i < rstrXml.ChildNodes.Count; ++i) 172for (int i = 0; i < rstrXml.ChildNodes.Count; ++i) 191for (int i = 0; i < rstXml.ChildNodes.Count; ++i)
System\ServiceModel\Security\XmlHelper.cs (2)
57for (int i = 0; i < parent.ChildNodes.Count; ++i) 89for (int i = 0; i < parent.ChildNodes.Count; ++i)
System.Web (1)
UI\WebControls\XmlHierarchyData.cs (1)
59for (int i = 0; i < nodeList.Count; i++) {
System.Web.DataVisualization (3)
Common\Utilities\XmlSerializer.cs (3)
1818 for(int nodeIndex = 0; nodeIndex < xmlNode.ChildNodes.Count; nodeIndex++) 2054 while(loopItemIndex > xmlParentNode.ChildNodes.Count - 1) 2056 loopItemIndex -= xmlParentNode.ChildNodes.Count;
System.Windows.Forms (14)
parent\parent\parent\public\Internal\NDP\Inc\mansign.cs (4)
390if (transforms.Count < 2) { 399for (int i = 0; i < transforms.Count; i++) { 432if (transforms.Count < 1) { 438for (int i = 0; i < transforms.Count; i++) {
parent\parent\parent\public\Internal\NDP\Inc\mansign2.cs (10)
246if ((nodes == null) || (nodes.Count != 1)) 632if (transforms.Count < 2) 642for (int i = 0; i < transforms.Count; i++) 683if (transforms.Count < 1) 690for (int i = 0; i < transforms.Count; i++) 827if ((timestamps == null) || (timestamps.Count == 0) || (signatureValues == null) || (signatureValues.Count == 0)) 833if ((timestamps.Count > 1) || (signatureValues.Count > 1) || 2026if (nodes.Count > 1)
System.Windows.Forms.DataVisualization (3)
Common\Utilities\XmlSerializer.cs (3)
1818 for(int nodeIndex = 0; nodeIndex < xmlNode.ChildNodes.Count; nodeIndex++) 2054 while(loopItemIndex > xmlParentNode.ChildNodes.Count - 1) 2056 loopItemIndex -= xmlParentNode.ChildNodes.Count;
System.Xml (4)
System\Xml\Dom\XmlLoader.cs (1)
692if ( node.ChildNodes.Count > 0 )
System\Xml\Schema\Parser.cs (3)
213XmlNode[] markup = new XmlNode[list.Count]; 214for (int i = 0; i < list.Count; i ++) { 401if ( eref.ChildNodes.Count == 0 ) {
WindowsBase (6)
Base\MS\Internal\IO\Packaging\CustomSignedXml.cs (2)
174if (nodeList.Count > 0) 177(nodeList.Count > 1 || foundMatch))
Base\MS\Internal\IO\Packaging\XmlDigitalSignatureProcessor.cs (4)
686if (nodeList == null || nodeList.Count == 0 || nodeList.Count > 2) 690if (nodeList.Count == 2) 1063if (nodeList.Count != 2)