60 references to Attribute
dotnet-svcutil-lib (60)
FrameworkFork\Microsoft.Xml\Xml\Cache\XPathDocumentBuilder.cs (4)
285Debug.Assert(_idxSibling == 0 || _pageSibling[_idxSibling].NodeType == XPathNodeType.Attribute); 294AddSibling(XPathNodeType.Attribute, localName, namespaceName, prefix, string.Empty); 302Debug.Assert(_pageSibling[_idxSibling].NodeType == XPathNodeType.Attribute); 486Debug.Assert(_idxSibling == 0 || _pageSibling[_idxSibling].NodeType == XPathNodeType.Attribute);
FrameworkFork\Microsoft.Xml\Xml\Cache\XPathDocumentNavigator.cs (2)
84case XPathNodeType.Attribute: 877case XPathNodeType.Attribute:
FrameworkFork\Microsoft.Xml\Xml\Cache\XPathNode.cs (2)
293return xptyp == XPathNodeType.Attribute || xptyp == XPathNodeType.Namespace; 424if (xptyp == XPathNodeType.Attribute)
FrameworkFork\Microsoft.Xml\Xml\Cache\XPathNodeHelper.cs (12)
79Debug.Assert(pageNode[idxNode].NodeType == XPathNodeType.Attribute); 96if (idx != 0 && page[idx].NodeType == XPathNodeType.Attribute) 120while (page[idx].NodeType == XPathNodeType.Attribute) 234if (page[idx].NodeType != XPathNodeType.Attribute) 277if (typ == XPathNodeType.Attribute) 304if (page[idx].NodeType != XPathNodeType.Attribute) 315Debug.Assert(typ != XPathNodeType.Attribute && typ != XPathNodeType.Namespace); 335Debug.Assert(pageNode[idxNode].NodeType != XPathNodeType.Attribute); 376if (pagePrec[idxPrec].NodeType != XPathNodeType.Attribute) 399if (page[idx].NodeType != XPathNodeType.Attribute) 470while (idx != 0 && page[idx].NodeType == XPathNodeType.Attribute); 615Debug.Assert(page[idx].NodeType != XPathNodeType.Attribute, "Current node should never be an attribute or namespace--caller should handle this case.");
FrameworkFork\Microsoft.Xml\Xml\Core\XmlWriter.cs (1)
516case XPathNodeType.Attribute:
FrameworkFork\Microsoft.Xml\Xml\Dom\DocumentXPathNavigator.cs (4)
1329if (node1.XPNodeType == XPathNodeType.Attribute) 1331if (node2.XPNodeType == XPathNodeType.Attribute) 1357if (node2.XPNodeType == XPathNodeType.Attribute) 1471Debug.Assert(this.NodeType != XPathNodeType.Attribute && this.NodeType != XPathNodeType.Namespace && this.NodeType != XPathNodeType.All);
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlAttribute.cs (1)
400return XPathNodeType.Attribute;
FrameworkFork\Microsoft.Xml\Xml\schema\AstTree.cs (1)
552return ((ast.TypeOfAxis == Axis.AxisType.Attribute) && (ast.NodeType == XPathNodeType.Attribute));
FrameworkFork\Microsoft.Xml\Xml\ValidateNames.cs (3)
523case XPathNodeType.Attribute: 558case XPathNodeType.Attribute: 572if (prefix.Length == 0 && nodeKind == XPathNodeType.Attribute)
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\AttributeQuery.cs (1)
64if (context.NodeType == XPathNodeType.Attribute && matches(context))
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\ChildrenQuery.cs (1)
69if (temp.NodeType != XPathNodeType.Attribute && temp.MoveToParent())
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\followingquery.cs (1)
54if (_input.NodeType == XPathNodeType.Attribute || _input.NodeType == XPathNodeType.Namespace)
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\precedingquery.cs (1)
64if (last.NodeType == XPathNodeType.Attribute || last.NodeType == XPathNodeType.Namespace)
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\precedingsibling.cs (1)
60if (input.NodeType == XPathNodeType.Attribute || input.NodeType == XPathNodeType.Namespace)
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\querybuilder.cs (1)
193if ((root.NodeType == XPathNodeType.All || root.NodeType == XPathNodeType.Element || root.NodeType == XPathNodeType.Attribute) && root.Prefix.Length == 0)
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\XPathParser.cs (2)
390axisType == Axis.AxisType.Attribute ? XPathNodeType.Attribute : 741axisType == Axis.AxisType.Attribute ? XPathNodeType.Attribute :
FrameworkFork\Microsoft.Xml\Xml\XPath\XPathNavigator.cs (18)
130case XPathNodeType.Attribute: 527if ((nt != XPathNodeType.Element && scope != XmlNamespaceScope.Local) || nt == XPathNodeType.Attribute || nt == XPathNodeType.Namespace) 729case XPathNodeType.Attribute: 802case XPathNodeType.Attribute: 813case XPathNodeType.Attribute: 871case XPathNodeType.Attribute: 882case XPathNodeType.Attribute: 1077case XPathNodeType.Attribute: 1373|| type == XPathNodeType.Attribute 1403if (NodeType == XPathNodeType.Attribute) 1481case XPathNodeType.Attribute: 1510case XPathNodeType.Attribute: 1765case XPathNodeType.Attribute: 1800case XPathNodeType.Attribute: 1925case XPathNodeType.Attribute: 1946case XPathNodeType.Attribute: 1991internal const int NoAttrNmspMask = AllMask & ~(1 << (int)XPathNodeType.Attribute) & ~(1 << (int)XPathNodeType.Namespace); 2255case XPathNodeType.Attribute:
FrameworkFork\Microsoft.Xml\Xml\XPath\XPathNavigatorReader.cs (4)
427case XPathNodeType.Attribute: 474case XPathNodeType.Attribute: 642if (XPathNodeType.Attribute == _nav.NodeType) 996else if (XPathNodeType.Attribute == _nav.NodeType)