59 references to Element
dotnet-svcutil-lib (59)
FrameworkFork\Microsoft.Xml\Xml\Cache\XPathDocumentBuilder.cs (6)
157AddSibling(XPathNodeType.Element, localName, ns, prefix, baseUri); 209Debug.Assert(_pageParent[_idxParent].NodeType == XPathNodeType.Element); 284Debug.Assert(_idxParent == 0 || _pageParent[_idxParent].NodeType == XPathNodeType.Element); 475Debug.Assert(_pageParent[_idxParent].NodeType == XPathNodeType.Element); 489Debug.Assert(_idxParent == 0 || _pageParent[_idxParent].NodeType == XPathNodeType.Element); 622Debug.Assert(pageElem == null || pageElem[idxElem].NodeType == XPathNodeType.Element);
FrameworkFork\Microsoft.Xml\Xml\Cache\XPathDocumentNavigator.cs (4)
119Debug.Assert(page[idx].NodeType == XPathNodeType.Element || page[idx].IsText); 219case XPathNodeType.Element: 494Debug.Assert(page[idx].NodeType == XPathNodeType.Element); 687if (page[idx].NodeType == XPathNodeType.Element)
FrameworkFork\Microsoft.Xml\Xml\Cache\XPathNode.cs (4)
227return NodeType == XPathNodeType.Element && 402Debug.Assert(NodeType == XPathNodeType.Element); 413Debug.Assert(NodeType == XPathNodeType.Element); 431if (xptyp == XPathNodeType.Element)
FrameworkFork\Microsoft.Xml\Xml\Cache\XPathNodeHelper.cs (5)
30Debug.Assert(pageElem[idxElem].NodeType == XPathNodeType.Element); 47if (pageElem[idxElem].NodeType == XPathNodeType.Element) 519if (page[idx].NodeType == XPathNodeType.Element && (object)page[idx].LocalName == (object)localName) 684if (page[idx].IsText || (page[idx].NodeType == XPathNodeType.Element && page[idx].HasCollapsedText)) 695if (page[idx].IsText || (page[idx].NodeType == XPathNodeType.Element && page[idx].HasCollapsedText))
FrameworkFork\Microsoft.Xml\Xml\Core\XmlWriter.cs (3)
488case XPathNodeType.Element: 554if (navigator.NodeType == XPathNodeType.Element) 588if (navigator.NodeType == XPathNodeType.Element)
FrameworkFork\Microsoft.Xml\Xml\Dom\DocumentXPathNavigator.cs (1)
1491if (nt == XPathNodeType.Element)
FrameworkFork\Microsoft.Xml\Xml\Dom\XmlElement.cs (1)
624internal override XPathNodeType XPNodeType { get { return XPathNodeType.Element; } }
FrameworkFork\Microsoft.Xml\Xml\schema\AstTree.cs (1)
547return ((ast.TypeOfAxis == Axis.AxisType.Child) && (ast.NodeType == XPathNodeType.Element));
FrameworkFork\Microsoft.Xml\Xml\ValidateNames.cs (3)
514case XPathNodeType.Element: 530goto case XPathNodeType.Element; 557case XPathNodeType.Element:
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\baseaxisquery.cs (1)
147if (TypeTest != XPathNodeType.Element)
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\DescendantBaseQuery.cs (1)
71if (TypeTest != XPathNodeType.Element)
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\XPathAncestorQuery.cs (1)
79if (TypeTest != XPathNodeType.Element)
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\XPathAxisIterator.cs (1)
85nav.NodeType == XPathNodeType.Element &&
FrameworkFork\Microsoft.Xml\Xml\XPath\Internal\XPathParser.cs (2)
392/* default: */ XPathNodeType.Element 742/* default: */ XPathNodeType.Element
FrameworkFork\Microsoft.Xml\Xml\XPath\XPathDocument.cs (2)
396Debug.Assert(pageElem[idxElem].NodeType == XPathNodeType.Element && pageNmsp[idxNmsp].NodeType == XPathNodeType.Namespace); 410Debug.Assert(pageElem[idxElem].NodeType == XPathNodeType.Element);
FrameworkFork\Microsoft.Xml\Xml\XPath\XPathNavigator.cs (19)
129case XPathNodeType.Element: 457if (NodeType != XPathNodeType.Element) 490if (NodeType != XPathNodeType.Element) 527if ((nt != XPathNodeType.Element && scope != XmlNamespaceScope.Local) || nt == XPathNodeType.Attribute || nt == XPathNodeType.Namespace) 611case XPathNodeType.Element: 761if (NodeType == XPathNodeType.Element && localName == LocalName && namespaceURI == NamespaceURI) 850while (NodeType != XPathNodeType.Element 930if (NodeType == XPathNodeType.Element && localName == LocalName && namespaceURI == NamespaceURI) 1060case XPathNodeType.Element: 1449case XPathNodeType.Element: 1499case XPathNodeType.Element: 1724if (NodeType == XPathNodeType.Element && (object)localName == (object)LocalName && namespaceURI == NamespaceURI) 1995(1 << (int) XPathNodeType.Element), // Element 2035case XPathNodeType.Element: 2043case XPathNodeType.Element: 2046case XPathNodeType.Element: 2064case XPathNodeType.Element: 2072case XPathNodeType.Element: 2252case XPathNodeType.Element:
FrameworkFork\Microsoft.Xml\Xml\XPath\XPathNavigatorReader.cs (3)
425case XPathNodeType.Element: 472case XPathNodeType.Element: 1033Debug.Assert(_nav.NodeType == XPathNodeType.Element, _nav.NodeType.ToString() + " == XPathNodeType.Element");