26 references to NodeType
System.Private.Xml (26)
System\Xml\Schema\Asttree.cs (5)
419
: base(axis.TypeOfAxis, inputaxis, axis.Prefix, axis.Name, axis.
NodeType
)
528
return ((ast.TypeOfAxis == Axis.AxisType.Child) && (ast.
NodeType
== XPathNodeType.Element));
533
return ((ast.TypeOfAxis == Axis.AxisType.Attribute) && (ast.
NodeType
== XPathNodeType.Attribute));
538
return ((ast.TypeOfAxis == Axis.AxisType.DescendantOrSelf) && (ast.
NodeType
== XPathNodeType.All) && (ast.AbbrAxis));
543
return ((ast.TypeOfAxis == Axis.AxisType.Self) && (ast.
NodeType
== XPathNodeType.All) && (ast.AbbrAxis));
System\Xml\XPath\Internal\QueryBuilder.cs (21)
76
input.TypeOfAxis == Axis.AxisType.DescendantOrSelf && input.
NodeType
== XPathNodeType.All
89
result = new DescendantQuery(qyGrandInput, root.Name, root.Prefix, root.
NodeType
, false, input.AbbrAxis);
116
result = new XPathAncestorQuery(qyInput, root.Name, root.Prefix, root.
NodeType
, false);
120
result = new XPathAncestorQuery(qyInput, root.Name, root.Prefix, root.
NodeType
, true);
126
result = new CacheChildrenQuery(qyInput, root.Name, root.Prefix, root.
NodeType
);
130
result = new ChildrenQuery(qyInput, root.Name, root.Prefix, root.
NodeType
);
134
result = new ParentQuery(qyInput, root.Name, root.Prefix, root.
NodeType
);
139
result = new DescendantOverDescendantQuery(qyInput, false, root.Name, root.Prefix, root.
NodeType
, /*abbrAxis:*/false);
143
result = new DescendantQuery(qyInput, root.Name, root.Prefix, root.
NodeType
, false, /*abbrAxis:*/false);
154
result = new DescendantOverDescendantQuery(qyInput, true, root.Name, root.Prefix, root.
NodeType
, root.AbbrAxis);
158
result = new DescendantQuery(qyInput, root.Name, root.Prefix, root.
NodeType
, true, root.AbbrAxis);
167
result = new PrecedingQuery(qyInput, root.Name, root.Prefix, root.
NodeType
);
171
result = new FollowingQuery(qyInput, root.Name, root.Prefix, root.
NodeType
);
175
result = new FollSiblingQuery(qyInput, root.Name, root.Prefix, root.
NodeType
);
182
result = new PreSiblingQuery(qyInput, root.Name, root.Prefix, root.
NodeType
);
185
result = new AttributeQuery(qyInput, root.Name, root.Prefix, root.
NodeType
);
188
result = new XPathSelfQuery(qyInput, root.Name, root.Prefix, root.
NodeType
);
191
if ((root.
NodeType
== XPathNodeType.All || root.
NodeType
== XPathNodeType.Element || root.
NodeType
== XPathNodeType.Attribute) && root.Prefix.Length == 0)
193
result = new NamespaceQuery(qyInput, root.Name, root.Prefix, root.
NodeType
);