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