26 references to NodeType
System.Xml (26)
System\Xml\Schema\Asttree.cs (5)
352
: base(axis.TypeOfAxis, inputaxis, axis.Prefix, axis.Name, axis.
NodeType
) {
465
return ((ast.TypeOfAxis == Axis.AxisType.Child) && (ast.
NodeType
== XPathNodeType.Element));
469
return ((ast.TypeOfAxis == Axis.AxisType.Attribute) && (ast.
NodeType
== XPathNodeType.Attribute));
473
return ((ast.TypeOfAxis == Axis.AxisType.DescendantOrSelf) && (ast.
NodeType
== XPathNodeType.All) && (ast.AbbrAxis));
477
return ((ast.TypeOfAxis == Axis.AxisType.Self) && (ast.
NodeType
== XPathNodeType.All) && (ast.AbbrAxis));
System\Xml\XPath\Internal\QueryBuilder.cs (21)
70
input.TypeOfAxis == Axis.AxisType.DescendantOrSelf && input.
NodeType
== XPathNodeType.All
79
result = new DescendantQuery(qyGrandInput, root.Name, root.Prefix, root.
NodeType
, false, input.AbbrAxis);
101
result = new XPathAncestorQuery(qyInput , root.Name, root.Prefix, root.
NodeType
, false);
105
result = new XPathAncestorQuery(qyInput, root.Name, root.Prefix, root.
NodeType
, true);
110
result = new CacheChildrenQuery(qyInput, root.Name, root.Prefix, root.
NodeType
);
112
result = new ChildrenQuery(qyInput, root.Name, root.Prefix, root.
NodeType
);
116
result = new ParentQuery(qyInput, root.Name, root.Prefix, root.
NodeType
);
120
result = new DescendantOverDescendantQuery(qyInput, false, root.Name, root.Prefix, root.
NodeType
, /*abbrAxis:*/false);
122
result = new DescendantQuery(qyInput, root.Name, root.Prefix, root.
NodeType
, false, /*abbrAxis:*/false);
131
result = new DescendantOverDescendantQuery(qyInput, true, root.Name, root.Prefix, root.
NodeType
, root.AbbrAxis);
133
result = new DescendantQuery(qyInput, root.Name, root.Prefix, root.
NodeType
, true, root.AbbrAxis);
141
result = new PrecedingQuery(qyInput, root.Name, root.Prefix, root.
NodeType
);
145
result = new FollowingQuery(qyInput, root.Name, root.Prefix, root.
NodeType
);
149
result = new FollSiblingQuery(qyInput, root.Name, root.Prefix, root.
NodeType
);
155
result = new PreSiblingQuery(qyInput, root.Name, root.Prefix, root.
NodeType
);
158
result = new AttributeQuery(qyInput, root.Name, root.Prefix, root.
NodeType
);
161
result = new XPathSelfQuery(qyInput, root.Name, root.Prefix, root.
NodeType
);
164
if ((root.
NodeType
== XPathNodeType.All || root.
NodeType
== XPathNodeType.Element || root.
NodeType
== XPathNodeType.Attribute) && root.Prefix.Length == 0) {
165
result = new NamespaceQuery(qyInput, root.Name, root.Prefix, root.
NodeType
);