53 references to Count
Microsoft.Build.Engine (1)
Engine\TaskEngine.cs (1)
120List<string> taskParameters = new List<string>(taskNode.Attributes.Count);
Microsoft.Build.Tasks.Core (1)
BootstrapperUtil\BootstrapperBuilder.cs (1)
2184if (currentNode.Attributes.Count == 0 && currentNode.InnerText.Length > 0)
PresentationBuildTasks (1)
Microsoft\Build\Tasks\Windows\GenerateTemporaryTargetAssembly.cs (1)
811for (int i = 0; i < root.Attributes.Count; i++)
System.Configuration.ConfigurationManager (1)
System\Configuration\HandlerBase.cs (1)
100if (node.Attributes.Count != 0)
System.Data.Common (10)
System\Data\XDRSchema.cs (3)
359if (node.Attributes.Count > 0) 465for (int i = 0; i < node.Attributes.Count; i++) 562if (attrs.Count > 0)
System\Data\XmlDataLoader.cs (1)
129for (int i = 0; i < node.Attributes!.Count; i++)
System\Data\XMLSchema.cs (2)
29for (int i = 0; i < attrs.Count; i++) 396for (int i = 0; i < attrs.Count; i++)
System\Xml\DataPointer.cs (1)
328return _node.Attributes!.Count;
System\Xml\DataSetMappper.cs (1)
253int cAttrs = rowElem.Attributes.Count;
System\Xml\XmlBoundElement.cs (1)
45public override bool HasAttributes => Attributes.Count > 0;
System\Xml\XPathNodePointer.cs (1)
1463int attrInd = attrs.Count;
System.Private.Xml (34)
System\Xml\Dom\DocumentSchemaValidator.cs (4)
184for (int i = 0; i < attrs.Count; i++) 333for (int i = 0; i < attributes.Count; i++) 390for (int i = 0; i < attributes.Count; i++) 682for (int i = 0; i < attributes.Count; i++)
System\Xml\Dom\DocumentXPathNavigator.cs (10)
271for (int i = 0; i < attributes.Count; i++) 295for (int i = 0; i < attributes.Count; i++) 323for (int i = 0; i < attributes.Count; i++) 350for (int i = _attributeIndex + 1; i < attributes.Count; i++) 528for (int i = attributes.Count - 1; i >= 0; i--) 641Debug.Assert(0 <= index && index < attributes.Count); 1321for (int i = 0; i < attributes.Count; i++) 1817for (int j = 0; j < attributes.Count; j++) 1854for (int i = 0; i < attributes.Count; i++) 1874&& index < attributes.Count
System\Xml\Dom\XmlAttributeCollection.cs (5)
252if (i < 0 || i >= Count) 261int n = Count; 271for (int i = 0, max = Count; i < max; i++, index++) 289get { return base.Count; } 294for (int i = 0, max = Count; i < max; i++, index++)
System\Xml\Dom\XmlDocument.cs (1)
1032int cAttr = fromElem.Attributes!.Count;
System\Xml\Dom\XmlElement.cs (2)
263return _attributes.Count > 0; 515for (int i = 0; i < attrs.Count; i += 1)
System\Xml\Dom\XmlLoader.cs (1)
807int cAttrs = attrs.Count;
System\Xml\Dom\XmlNamedNodemap.cs (2)
116int c = this.Count; 130int c = this.Count;
System\Xml\Dom\XmlNode.cs (3)
1099for (int iAttr = 0; iAttr < attrs.Count; iAttr++) 1113for (int iAttr = 0; iAttr < attrs.Count; iAttr++) 1182for (int iAttr = 0; iAttr < attrs.Count; iAttr++)
System\Xml\Dom\XmlNodeReader.cs (6)
334return ((XmlElement)_curNode).Attributes.Count; 337return _elemNode!.Attributes!.Count; 727if (_attrIndex >= (_elemNode!.Attributes!.Count - 1)) 737if (_curNode.Attributes!.Count > 0) 949for (int i = 0; i < attrs.Count; i++) 1001for (int i = 0; i < attrs.Count; i++)
System.Security.Cryptography.Xml (2)
System\Security\Cryptography\Xml\CanonicalXml.cs (1)
94for (int j = 0; j < attribNodes.Count; j++)
System\Security\Cryptography\Xml\ExcCanonicalXml.cs (1)
104for (int j = 0; j < attribNodes.Count; j++)
System.ServiceModel.Primitives (3)
System\ServiceModel\Security\WSTrust.cs (3)
232for (int i = 0; i < rstXml.Attributes.Count; ++i) 333for (int i = 0; i < rstrXml.Attributes.Count; ++i) 766for (int i = 0; i < elem.Attributes.Count; ++i)