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