88 references to Namespace
System.Data.Common (11)
System\Xml\DataDocumentXPathNavigator.cs (1)
92_curNode.NodeType != XPathNodeType.Namespace ?
System\Xml\XPathNodePointer.cs (10)
83return XPathNodeType.Namespace; 164return XPathNodeType.Namespace; 978if (NodeType == XPathNodeType.Namespace) 1015if (xnt == XPathNodeType.Namespace) 1095if (NodeType == XPathNodeType.Namespace && other.NodeType == XPathNodeType.Namespace) 1103else if (NodeType == XPathNodeType.Namespace) 1105Debug.Assert(other.NodeType != XPathNodeType.Namespace); 1118else if (other.NodeType == XPathNodeType.Namespace) 1120Debug.Assert(NodeType != XPathNodeType.Namespace);
System.Private.Xml (76)
System\Xml\Cache\XPathDocumentBuilder.cs (3)
646pageNode[idxNode].Create(info, XPathNodeType.Namespace, idxElem); 662Debug.Assert(xptyp != XPathNodeType.Namespace); 734Debug.Assert(xptyp != XPathNodeType.Root && xptyp != XPathNodeType.Namespace);
System\Xml\Cache\XPathDocumentNavigator.cs (3)
80case XPathNodeType.Namespace: 361if (page[idx].NodeType != XPathNodeType.Namespace) 880XPathNodeType.Namespace => int.MinValue + 1 + XPathNodeHelper.GetLocation(_pageCurrent, _idxCurrent),
System\Xml\Cache\XPathNode.cs (2)
238return NodeType == XPathNodeType.Namespace && localName.Length == 3 && localName == "xml"; 291return xptyp == XPathNodeType.Attribute || xptyp == XPathNodeType.Namespace;
System\Xml\Cache\XPathNodeHelper.cs (1)
312Debug.Assert(typ != XPathNodeType.Attribute && typ != XPathNodeType.Namespace);
System\Xml\Core\XmlWriter.cs (1)
484case XPathNodeType.Namespace:
System\Xml\Core\XmlWriterAsync.cs (1)
484case XPathNodeType.Namespace:
System\Xml\Dom\DocumentSchemaValidator.cs (1)
141if (nodeToValidate.XPNodeType == XPathNodeType.Namespace) goto default;
System\Xml\Dom\DocumentXPathNavigator.cs (1)
1456Debug.Assert(this.NodeType != XPathNodeType.Attribute && this.NodeType != XPathNodeType.Namespace && this.NodeType != XPathNodeType.All);
System\Xml\Dom\XmlAttribute.cs (1)
402return XPathNodeType.Namespace;
System\Xml\ValidateNames.cs (1)
521case XPathNodeType.Namespace:
System\Xml\XPath\Internal\FollowingQuery.cs (1)
51if (_input!.NodeType == XPathNodeType.Attribute || _input.NodeType == XPathNodeType.Namespace)
System\Xml\XPath\Internal\NamespaceQuery.cs (1)
58Debug.Assert(e.NodeType == XPathNodeType.Namespace);
System\Xml\XPath\Internal\PrecedingQuery.cs (1)
60if (last.NodeType == XPathNodeType.Attribute || last.NodeType == XPathNodeType.Namespace)
System\Xml\XPath\Internal\PreSiblingQuery.cs (1)
57if (input.NodeType == XPathNodeType.Attribute || input.NodeType == XPathNodeType.Namespace)
System\Xml\XPath\XPathDocument.cs (1)
385Debug.Assert(pageElem[idxElem].NodeType == XPathNodeType.Element && pageNmsp[idxNmsp].NodeType == XPathNodeType.Namespace);
System\Xml\XPath\XPathNavigator.cs (15)
472if ((nt != XPathNodeType.Element && scope != XmlNamespaceScope.Local) || nt == XPathNodeType.Attribute || nt == XPathNodeType.Namespace) 675case XPathNodeType.Namespace: 748case XPathNodeType.Namespace: 759case XPathNodeType.Namespace: 815case XPathNodeType.Namespace: 826case XPathNodeType.Namespace: 1305|| type == XPathNodeType.Namespace) 1336else if (NodeType == XPathNodeType.Namespace) 1411case XPathNodeType.Namespace: 1676case XPathNodeType.Namespace: 1716case XPathNodeType.Namespace: 1827case XPathNodeType.Namespace: 1838case XPathNodeType.Namespace: 1895internal const int NoAttrNmspMask = AllMask & ~(1 << (int)XPathNodeType.Attribute) & ~(1 << (int)XPathNodeType.Namespace); 2156case XPathNodeType.Namespace:
System\Xml\XPath\XPathNavigatorReader.cs (4)
203if (_nav.NodeType == XPathNodeType.Namespace) 217if (_nav.NodeType == XPathNodeType.Namespace && _nav.LocalName.Length == 0) 231if (_nav.NodeType == XPathNodeType.Namespace && _nav.LocalName.Length != 0) 641Debug.Assert(XPathNodeType.Namespace == _nav.NodeType);
System\Xml\Xsl\IlGen\XmlILConstructAnalyzer.cs (1)
1062nodeType = XPathNodeType.Namespace;
System\Xml\Xsl\IlGen\XmlIlVisitor.cs (3)
3279case XmlNodeKindFlags.Namespace: kindsRuntime = XPathNodeType.Namespace; break; 3312if ((kinds & XmlNodeKindFlags.Namespace) != 0) kindsUnion |= (1 << (int)XPathNodeType.Namespace); 4601case QilNodeType.NamespaceDecl: return XPathNodeType.Namespace;
System\Xml\Xsl\Runtime\ContentIterators.cs (1)
116Debug.Assert(nodeType != XPathNodeType.Attribute && nodeType != XPathNodeType.Namespace);
System\Xml\Xsl\Runtime\TreeIterators.cs (1)
351if (nav.NodeType == XPathNodeType.Attribute || nav.NodeType == XPathNodeType.Namespace)
System\Xml\Xsl\Runtime\XmlNavigatorFilter.cs (1)
168Debug.Assert(nodeType != XPathNodeType.Attribute && nodeType != XPathNodeType.Namespace);
System\Xml\Xsl\Runtime\XmlQueryOutput.cs (6)
422_xstate = (rootType == XPathNodeType.Attribute || rootType == XPathNodeType.Namespace) ? XmlState.EnumAttrs : XmlState.WithinContent; 701ConstructInEnumAttrs(XPathNodeType.Namespace); 749ConstructInEnumAttrs(XPathNodeType.Namespace); 1141case XPathNodeType.Namespace: 1288Debug.Assert(rootType == XPathNodeType.Attribute || rootType == XPathNodeType.Namespace); 1576case XPathNodeType.Namespace:
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (2)
768case XPathNodeType.Namespace: return code == XmlTypeCode.Namespace; 1078Debug.Assert(node.NodeType == XPathNodeType.Namespace);
System\Xml\Xsl\Runtime\XmlSequenceWriter.cs (3)
140if (rootType == XPathNodeType.Attribute || rootType == XPathNodeType.Namespace) 166if (nav.NodeType == XPathNodeType.Attribute || nav.NodeType == XPathNodeType.Namespace) 314case XPathNodeType.Namespace:
System\Xml\Xsl\XPath\XPathParser.cs (1)
242axis == XPathAxis.Namespace ? XPathNodeType.Namespace :
System\Xml\Xsl\XsltOld\BeginEvent.cs (1)
27Debug.Assert(input.NodeType != XPathNodeType.Namespace);
System\Xml\Xsl\XsltOld\CopyNamespacesAction.cs (5)
43Debug.Assert(frame.Node!.NodeType == XPathNodeType.Namespace); 45if (processor.BeginEvent(XPathNodeType.Namespace, null, frame.Node.LocalName, frame.Node.Value, false) == false) 55Debug.Assert(frame.Node!.NodeType == XPathNodeType.Namespace); 57if (processor.EndEvent(XPathNodeType.Namespace) == false) 67Debug.Assert(frame.Node!.NodeType == XPathNodeType.Namespace);
System\Xml\Xsl\XsltOld\EndEvent.cs (1)
17Debug.Assert(nodeType != XPathNodeType.Namespace);
System\Xml\Xsl\XsltOld\NameSpaceEvent.cs (3)
19Debug.Assert(input.NodeType == XPathNodeType.Namespace); 43res = processor.BeginEvent(XPathNodeType.Namespace, /*prefix:*/null, _name, _namespaceUri, /*empty:*/false); 45res = processor.EndEvent(XPathNodeType.Namespace);
System\Xml\Xsl\XsltOld\NumberAction.cs (3)
236if (endNode.NodeType == XPathNodeType.Attribute || endNode.NodeType == XPathNodeType.Namespace) 342Debug.Assert(nav.NodeType != XPathNodeType.Attribute && nav.NodeType != XPathNodeType.Namespace); 419if (countNode.NodeType == XPathNodeType.Attribute || countNode.NodeType == XPathNodeType.Namespace)
System\Xml\Xsl\XsltOld\Processor.cs (4)
852case XPathNodeType.Namespace: 854return BeginEvent(XPathNodeType.Namespace, null, node.LocalName, node.Value, false); 878case XPathNodeType.Namespace: 910case XPathNodeType.Namespace:
System\Xml\Xsl\XsltOld\RecordBuilder.cs (1)
154case XPathNodeType.Namespace:
System.Private.Xml.Linq (1)
System\Xml\XPath\XNodeNavigator.cs (1)
210return attribute.IsNamespaceDeclaration ? XPathNodeType.Namespace : XPathNodeType.Attribute;