11 overrides of NodeType
SMDiagnostics (1)
System\ServiceModel\Diagnostics\TraceXPathNavigator.cs (1)
734public override XPathNodeType NodeType
System.Data (1)
fx\src\data\System\NewXml\DataDocumentXPathNavigator.cs (1)
37public override XPathNodeType NodeType { get { return _curNode.NodeType; } }
System.Data.SqlXml (1)
System\Xml\Xsl\Runtime\RtfNavigator.cs (1)
51public override XPathNodeType NodeType {
System.ServiceModel (3)
System\ServiceModel\Dispatcher\QuerySafeNavigator.cs (2)
270public override XPathNodeType NodeType 641public override XPathNodeType NodeType
System\ServiceModel\Dispatcher\SeekableMessageNavigator.cs (1)
288public override XPathNodeType NodeType
System.Transactions (1)
System\Transactions\Trace\TraceXPathNavigator.cs (1)
404public override XPathNodeType NodeType
System.Xml (3)
System\Xml\Cache\XPathDocumentNavigator.cs (1)
145public override XPathNodeType NodeType {
System\Xml\Dom\DocumentXPathNavigator.cs (1)
85public override XPathNodeType NodeType {
System\Xml\XPath\XPathNavigatorReader.cs (1)
1014public override XPathNodeType NodeType {
System.Xml.Linq (1)
System\Xml\Linq\XNodeNavigator.cs (1)
175public override XPathNodeType NodeType {
161 references to NodeType
System.Data.Entity (1)
System\Data\Mapping\StorageMappingItemLoader.cs (1)
231if (!MoveToRootElement(nav) || (nav.NodeType != XPathNodeType.Element))
System.Data.SqlXml (71)
System\Xml\Xsl\Runtime\TreeIterators.cs (3)
32if (input.NodeType == XPathNodeType.Root) { 321if (nav.NodeType == XPathNodeType.Attribute || nav.NodeType == XPathNodeType.Namespace) {
System\Xml\Xsl\Runtime\XmlNavigatorFilter.cs (3)
200return ((1 << (int) navigator.NodeType) & this.mask) == 0; 263return navigator.NodeType == XPathNodeType.Attribute; 346if (navigator.NodeType == XPathNodeType.Attribute) {
System\Xml\Xsl\Runtime\XmlQueryOutput.cs (10)
822else if (navigator.NodeType == XPathNodeType.Root) { 846if (navigator.NodeType == XPathNodeType.Root) 850Debug.Assert(navigator.NodeType == XPathNodeType.Element, "StartCopy should return true only for Element nodes."); 865if (navigator.NodeType == XPathNodeType.Element) 868Debug.Assert(navigator.NodeType == XPathNodeType.Root, "EndCopy should only be called for Element and Document nodes."); 948nodeType = navigator.NodeType; 999switch (navigator.NodeType) { 1092Debug.Assert(navigator.NodeType == XPathNodeType.Element); 1105Debug.Assert(navigator.NodeType == XPathNodeType.Element, "Only elements have namespaces to copy"); 1351if (navigator.NodeType != nodeType) {
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (9)
720switch (((XPathNavigator) item).NodeType) { 750switch (nav.NodeType) { 754return XmlQueryTypeFactory.Type(nav.NodeType, XmlQualifiedNameTest.New(nav.LocalName, nav.NamespaceURI), XmlSchemaComplexType.UntypedAnyType, false); 756return XmlQueryTypeFactory.Type(nav.NodeType, XmlQualifiedNameTest.New(nav.LocalName, nav.NamespaceURI), nav.XmlType, nav.SchemaInfo.SchemaElement.IsNillable); 760return XmlQueryTypeFactory.Type(nav.NodeType, XmlQualifiedNameTest.New(nav.LocalName, nav.NamespaceURI), DatatypeImplementation.UntypedAtomicType, false); 762return XmlQueryTypeFactory.Type(nav.NodeType, XmlQualifiedNameTest.New(nav.LocalName, nav.NamespaceURI), nav.XmlType, false); 765return XmlQueryTypeFactory.Type(nav.NodeType, XmlQualifiedNameTest.Wildcard, XmlSchemaComplexType.AnyType, false); 1006if (lineInfo != null && ! (currentNode.NodeType == XPathNodeType.Namespace && IsInheritedNamespace(currentNode))) { 1014Debug.Assert(node.NodeType == XPathNodeType.Namespace);
System\Xml\Xsl\Runtime\XmlSequenceWriter.cs (6)
159if (nav.NodeType == XPathNodeType.Attribute || nav.NodeType == XPathNodeType.Namespace) 194nodeType = nav.NodeType; 222if (nav.NodeType == XPathNodeType.Element) 244if (nav.NodeType == XPathNodeType.Element) 256switch (nav.NodeType) {
System\Xml\Xsl\Runtime\XsltLibrary.cs (2)
406XPathNodeType nt1 = nav1.NodeType; 407XPathNodeType nt2 = nav2.NodeType;
System\Xml\Xsl\XsltOld\ActionFrame.cs (4)
237XPathNodeType type = this.nodeSet.Current.NodeType; 245type = this.nodeSet.Current.NodeType; 256XPathNodeType type = this.newNodeSet.Current.NodeType; 264type = this.newNodeSet.Current.NodeType;
System\Xml\Xsl\XsltOld\CopyAction.cs (2)
74if ( frame.Node.NodeType == XPathNodeType.Element ) { 80if (frame.Node.NodeType == XPathNodeType.Element && !this.empty) {
System\Xml\Xsl\XsltOld\CopyAttributesAction.cs (7)
44Debug.Assert(frame.Node.NodeType == XPathNodeType.Attribute); 55Debug.Assert(frame.Node.NodeType == XPathNodeType.Attribute); 66Debug.Assert(frame.Node.NodeType == XPathNodeType.Attribute); 77Debug.Assert(frame.Node.NodeType == XPathNodeType.Attribute); 94Debug.Assert(node.NodeType == XPathNodeType.Attribute); 99Debug.Assert(node.NodeType == XPathNodeType.Attribute); 104Debug.Assert(node.NodeType == XPathNodeType.Attribute);
System\Xml\Xsl\XsltOld\CopyNamespacesAction.cs (3)
44Debug.Assert(frame.Node.NodeType == XPathNodeType.Namespace); 55Debug.Assert(frame.Node.NodeType == XPathNodeType.Namespace); 66Debug.Assert(frame.Node.NodeType == XPathNodeType.Namespace);
System\Xml\Xsl\XsltOld\CopyNodesetAction.cs (1)
55XPathNodeType nodeType = frame.Node.NodeType;
System\Xml\Xsl\XsltOld\NavigatorInput.cs (1)
98return _Navigator.NodeType;
System\Xml\Xsl\XsltOld\NumberAction.cs (9)
218if(endNode.NodeType == XPathNodeType.Attribute || endNode.NodeType == XPathNodeType.Namespace) { 236startNode.NodeType == XPathNodeType.Root // we are at root 302Debug.Assert(nav.NodeType != XPathNodeType.Attribute && nav.NodeType != XPathNodeType.Namespace); 364if (countNode.NodeType == XPathNodeType.Attribute || countNode.NodeType == XPathNodeType.Namespace) { 405if (contextNode.Name == nav.Name && BasicNodeType(contextNode.NodeType) == BasicNodeType(nav.NodeType)) {
System\Xml\Xsl\XsltOld\Processor.cs (10)
540if (this.stylesheet.Whitespace && n.NodeType == XPathNodeType.Element) { 550Debug.Assert(nav.NodeType == XPathNodeType.Element); 554switch (nav.NodeType) { 762switch (node.NodeType) { 767return BeginEvent(node.NodeType, node.Prefix, node.LocalName, node.NamespaceURI, emptyflag); 790switch (node.NodeType) { 817switch (node.NodeType) { 823return EndEvent(node.NodeType); 847if (navigator.NodeType == XPathNodeType.Root) { 850else if (navigator.NodeType == XPathNodeType.Element) {
System\Xml\Xsl\XsltOld\TemplateLookupAction.cs (1)
59switch (node.NodeType) {
System.ServiceModel (7)
System\ServiceModel\Dispatcher\QuerySafeNavigator.cs (3)
274return this.navigator.NodeType; 645return this.navigator.NodeType; 758return this[nodePosition].NodeType;
System\ServiceModel\Dispatcher\QuerySelectOp.cs (3)
88switch (node.NodeType) 297if (XPathNodeType.Element == contextNode.NodeType && this.MatchQName(contextNode)) 378if (XPathNodeType.Element == contextNode.NodeType && this.MatchQName(contextNode))
System\ServiceModel\Dispatcher\QuerySubExprEliminator.cs (1)
348if (nav.NodeType == XPathNodeType.Element)
System.Xml (82)
System\Xml\Core\XmlWriter.cs (3)
443XPathNodeType nodeType = navigator.NodeType; 505if (navigator.NodeType == XPathNodeType.Element) { 533if (navigator.NodeType == XPathNodeType.Element)
System\Xml\Core\XmlWriterAsync.cs (3)
395XPathNodeType nodeType = navigator.NodeType; 457if (navigator.NodeType == XPathNodeType.Element) { 485if (navigator.NodeType == XPathNodeType.Element)
System\Xml\XPath\Internal\AbsoluteQuery.cs (1)
27if (context != null && context.NodeType == XPathNodeType.Root) {
System\Xml\XPath\Internal\AttributeQuery.cs (1)
53if (context.NodeType == XPathNodeType.Attribute && matches(context)) {
System\Xml\XPath\Internal\BaseAxisQuery.cs (3)
80TypeTest == e.NodeType || 82TypeTest == XPathNodeType.Text && (e.NodeType == XPathNodeType.Whitespace || e.NodeType == XPathNodeType.SignificantWhitespace)
System\Xml\XPath\Internal\ChildrenQuery.cs (1)
56if (temp.NodeType != XPathNodeType.Attribute && temp.MoveToParent()) {
System\Xml\XPath\Internal\FollowingQuery.cs (2)
48if (input.NodeType == XPathNodeType.Attribute || input.NodeType == XPathNodeType.Namespace) {
System\Xml\XPath\Internal\NamespaceQuery.cs (1)
52Debug.Assert(e.NodeType == XPathNodeType.Namespace);
System\Xml\XPath\Internal\NodeFunctions.cs (1)
74if (nav.NodeType != XPathNodeType.Whitespace || xsltContext.PreserveWhitespace(nav)) {
System\Xml\XPath\Internal\PrecedingQuery.cs (2)
57if (last.NodeType == XPathNodeType.Attribute || last.NodeType == XPathNodeType.Namespace) {
System\Xml\XPath\Internal\PrecedingSibling.cs (2)
56if (input.NodeType == XPathNodeType.Attribute || input.NodeType == XPathNodeType.Namespace) {
System\Xml\XPath\Internal\Query.cs (2)
195if (last.NodeType == XPathNodeType.Namespace && curr.NodeType == XPathNodeType.Namespace) {
System\Xml\XPath\Internal\XPathAxisIterator.cs (4)
66type == nav.NodeType || 69nav.NodeType == XPathNodeType.Whitespace || 70nav.NodeType == XPathNodeType.SignificantWhitespace 75nav.NodeType == XPathNodeType.Element &&
System\Xml\XPath\XPathNavigator.cs (39)
105switch (NodeType) { 363if (NodeType != XPathNodeType.Element) { 393if (NodeType != XPathNodeType.Element) { 424XPathNodeType nt = NodeType; 498switch (NodeType) { 603switch (NodeType) { 632if (NodeType == XPathNodeType.Element && localName == LocalName && namespaceURI == NamespaceURI) 646if (((1 << (int) NodeType) & mask) != 0) 665switch (end.NodeType) { 675switch (NodeType) { 707while (NodeType != XPathNodeType.Element 723switch (end.NodeType) { 733switch (NodeType) { 765while (((1 << (int) NodeType) & mask) == 0); 774if (NodeType == XPathNodeType.Element && localName == LocalName && namespaceURI == NamespaceURI) 786if (((1 << (int) NodeType) & mask) != 0) 877switch (NodeType) { 917Debug.Assert( schemaType != null || this.NodeType == XPathNodeType.Root, "schemaType != null || this.NodeType == XPathNodeType.Root" ); 1143XPathNodeType type = NodeType; 1170if (NodeType == XPathNodeType.Attribute) { 1173else if (NodeType == XPathNodeType.Namespace) { 1206switch (NodeType) { 1249switch (NodeType) { 1287if (!IsValidChildType(newChild.NodeType)) { 1312if (!IsValidChildType(newChild.NodeType)) { 1337if (!IsValidSiblingType(newSibling.NodeType)) { 1362if (!IsValidSiblingType(newSibling.NodeType)) { 1436if (NodeType == XPathNodeType.Element && (object) localName == (object) LocalName && namespaceURI == NamespaceURI) 1449if (((1 << (int) NodeType) & mask) != 0) 1459if (NodeType == XPathNodeType.Root) 1472switch (navSave.NodeType) { 1502switch (NodeType) { 1556sb.Append(NodeTypeLetter[(int)NodeType]); 1609switch (n1.NodeType) { 1619switch (n2.NodeType) { 1701switch (NodeType) { 1729switch (NodeType) { 1889string result = nav.NodeType.ToString(); 1890switch (nav.NodeType) {
System\Xml\XPath\XPathNavigatorKeyComparer.cs (1)
43hashCode = (int)nav.NodeType;
System\Xml\XPath\XPathNavigatorReader.cs (16)
115this.nodeType = XPathNavigatorReader.ToXmlNodeType( this.nav.NodeType ); 183if (this.nav.NodeType == XPathNodeType.Namespace) 195if (this.nav.NodeType == XPathNodeType.Namespace && this.nav.LocalName.Length == 0) 207if (this.nav.NodeType == XPathNodeType.Namespace && this.nav.LocalName.Length != 0) 365switch (nav.NodeType) { 406switch (nav.NodeType) { 550if (XPathNodeType.Attribute == this.nav.NodeType) 554Debug.Assert( XPathNodeType.Namespace == this.nav.NodeType ); 849if ( XPathNodeType.Root == this.nav.NodeType ) { 856else if ( XPathNodeType.Attribute == this.nav.NodeType ) { 859this.nodeType = ToXmlNodeType( this.nav.NodeType ); 864this.nodeType = ToXmlNodeType( this.nav.NodeType ); 883this.nodeType = ToXmlNodeType( this.nav.NodeType ); 887Debug.Assert( this.nav.NodeType == XPathNodeType.Element, this.nav.NodeType.ToString() + " == XPathNodeType.Element" ); 904this.nodeType = ToXmlNodeType( this.nav.NodeType );