16 references to TypeTest
System.Xml (16)
System\Xml\XPath\Internal\BaseAxisQuery.cs (5)
80
TypeTest
== e.NodeType ||
81
TypeTest
== XPathNodeType.All ||
82
TypeTest
== XPathNodeType.Text && (e.NodeType == XPathNodeType.Whitespace || e.NodeType == XPathNodeType.SignificantWhitespace)
126
if (
TypeTest
!= XPathNodeType.Element) {
127
w.WriteAttributeString("nodeType",
TypeTest
.ToString());
System\Xml\XPath\Internal\ChildrenQuery.cs (3)
37
if (
TypeTest
== XPathNodeType.ProcessingInstruction) {
38
iterator = new IteratorFilter(input.SelectChildren(
TypeTest
), Name);
43
iterator = input.SelectChildren(
TypeTest
);
System\Xml\XPath\Internal\DescendantBaseQuery.cs (2)
59
if (
TypeTest
!= XPathNodeType.Element) {
60
w.WriteAttributeString("nodeType",
TypeTest
.ToString());
System\Xml\XPath\Internal\DescendantQuery.cs (3)
38
if (
TypeTest
== XPathNodeType.ProcessingInstruction) {
39
nodeIterator = new IteratorFilter(nav.SelectDescendants(
TypeTest
, matchSelf), Name);
44
nodeIterator = nav.SelectDescendants(
TypeTest
, matchSelf);
System\Xml\XPath\Internal\FollowingQuery.cs (1)
62
iterator = input.SelectDescendants(
TypeTest
, matchSelf);
System\Xml\XPath\Internal\XPathAncestorQuery.cs (2)
66
if (
TypeTest
!= XPathNodeType.Element) {
67
w.WriteAttributeString("nodeType",
TypeTest
.ToString());