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