108 references to Namespace
SMDiagnostics (3)
System\ServiceModel\Diagnostics\TraceXPathNavigator.cs (3)
646case XPathNodeType.Namespace: 724case XPathNodeType.Namespace: 761case XPathNodeType.Namespace:
System.Data (11)
fx\src\data\System\NewXml\DataDocumentXPathNavigator.cs (1)
95if ( _curNode.NodeType != XPathNodeType.Namespace )
fx\src\data\System\NewXml\XPathNodePointer.cs (10)
90return XPathNodeType.Namespace; 163return XPathNodeType.Namespace; 885if ( NodeType == XPathNodeType.Namespace ) { 916if ( xnt == XPathNodeType.Namespace ) { 987if ( this.NodeType == XPathNodeType.Namespace && other.NodeType == XPathNodeType.Namespace ) { 994else if ( this.NodeType == XPathNodeType.Namespace ) { 995Debug.Assert( other.NodeType != XPathNodeType.Namespace ); 1007else if ( other.NodeType == XPathNodeType.Namespace ) { 1008Debug.Assert( this.NodeType != XPathNodeType.Namespace );
System.Data.SqlXml (38)
System\Xml\Xsl\IlGen\XmlILConstructAnalyzer.cs (1)
967nodeType = XPathNodeType.Namespace;
System\Xml\Xsl\IlGen\XmlIlVisitor.cs (3)
3047case XmlNodeKindFlags.Namespace: kindsRuntime = XPathNodeType.Namespace; break; 3078if ((kinds & XmlNodeKindFlags.Namespace) != 0) kindsUnion |= (1 << (int) XPathNodeType.Namespace); 4258case QilNodeType.NamespaceDecl: return XPathNodeType.Namespace;
System\Xml\Xsl\Runtime\ContentIterators.cs (1)
107Debug.Assert(nodeType != XPathNodeType.Attribute && nodeType != XPathNodeType.Namespace);
System\Xml\Xsl\Runtime\TreeIterators.cs (1)
321if (nav.NodeType == XPathNodeType.Attribute || nav.NodeType == XPathNodeType.Namespace) {
System\Xml\Xsl\Runtime\XmlNavigatorFilter.cs (1)
156Debug.Assert(nodeType != XPathNodeType.Attribute && nodeType != XPathNodeType.Namespace);
System\Xml\Xsl\Runtime\XmlQueryOutput.cs (6)
386this.xstate = (rootType == XPathNodeType.Attribute || rootType == XPathNodeType.Namespace) ? XmlState.EnumAttrs : XmlState.WithinContent; 638ConstructInEnumAttrs(XPathNodeType.Namespace); 680ConstructInEnumAttrs(XPathNodeType.Namespace); 1033case XPathNodeType.Namespace: 1168Debug.Assert(rootType == XPathNodeType.Attribute || rootType == XPathNodeType.Namespace); 1433case XPathNodeType.Namespace:
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (3)
724case XPathNodeType.Namespace: return code == XmlTypeCode.Namespace; 1006if (lineInfo != null && ! (currentNode.NodeType == XPathNodeType.Namespace && IsInheritedNamespace(currentNode))) { 1014Debug.Assert(node.NodeType == XPathNodeType.Namespace);
System\Xml\Xsl\Runtime\XmlSequenceWriter.cs (3)
136if (rootType == XPathNodeType.Attribute || rootType == XPathNodeType.Namespace) 159if (nav.NodeType == XPathNodeType.Attribute || nav.NodeType == XPathNodeType.Namespace) 289case XPathNodeType.Namespace:
System\Xml\Xsl\XPath\XPathParser.cs (1)
213axis == XPathAxis.Namespace ? XPathNodeType.Namespace :
System\Xml\Xsl\XsltOld\BeginEvent.cs (1)
29Debug.Assert(input.NodeType != XPathNodeType.Namespace);
System\Xml\Xsl\XsltOld\CopyNamespacesAction.cs (5)
44Debug.Assert(frame.Node.NodeType == XPathNodeType.Namespace); 46if (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) { 66Debug.Assert(frame.Node.NodeType == XPathNodeType.Namespace);
System\Xml\Xsl\XsltOld\EndEvent.cs (1)
19Debug.Assert(nodeType != XPathNodeType.Namespace);
System\Xml\Xsl\XsltOld\NamespaceEvent.cs (3)
21Debug.Assert(input.NodeType == XPathNodeType.Namespace); 40res = processor.BeginEvent(XPathNodeType.Namespace, /*prefix:*/null, this.name, this.namespaceUri, /*empty:*/false); 42res = processor.EndEvent(XPathNodeType.Namespace);
System\Xml\Xsl\XsltOld\NumberAction.cs (3)
218if(endNode.NodeType == XPathNodeType.Attribute || endNode.NodeType == XPathNodeType.Namespace) { 302Debug.Assert(nav.NodeType != XPathNodeType.Attribute && nav.NodeType != XPathNodeType.Namespace); 364if (countNode.NodeType == XPathNodeType.Attribute || countNode.NodeType == XPathNodeType.Namespace) {
System\Xml\Xsl\XsltOld\Processor.cs (4)
768case XPathNodeType.Namespace: 770return BeginEvent(XPathNodeType.Namespace, null, node.LocalName, node.Value, false); 792case XPathNodeType.Namespace: 822case XPathNodeType.Namespace:
System\Xml\Xsl\XsltOld\RecordBuilder.cs (1)
144case XPathNodeType.Namespace:
System.ServiceModel (12)
System\ServiceModel\Dispatcher\SeekableMessageNavigator.cs (12)
95BlankDom[SoapNSIndex].type = XPathNodeType.Namespace; 102BlankDom[XmlNSIndex].type = XPathNodeType.Namespace; 570if (type == XPathNodeType.Namespace || type == XPathNodeType.Attribute) 577if (type == XPathNodeType.Namespace || type == XPathNodeType.Attribute) 734if (t != XPathNodeType.Attribute && t != XPathNodeType.Namespace) 912if (type == XPathNodeType.Attribute || type == XPathNodeType.Namespace) 954if (this.dom.nodes[this.location].type != XPathNodeType.Namespace) 1002if (t != XPathNodeType.Attribute && t != XPathNodeType.Namespace) 1392if (type1 == XPathNodeType.Namespace) 1406if (type2 == XPathNodeType.Namespace) 1462if (p.parent > NullIndex && p.parent < this.nextFreeIndex && this.nodes[p.parent].type == XPathNodeType.Element && this.nodes[p.elem].type == XPathNodeType.Namespace) 1915this.nodes[n].type = XPathNodeType.Namespace;
System.Transactions (3)
System\Transactions\Trace\TraceXPathNavigator.cs (3)
352case XPathNodeType.Namespace: 426case XPathNodeType.Namespace: 451case XPathNodeType.Namespace:
System.Xml (40)
System\Xml\Cache\XPathDocumentBuilder.cs (3)
580pageNode[idxNode].Create(info, XPathNodeType.Namespace, idxElem); 595Debug.Assert(xptyp != XPathNodeType.Namespace); 659Debug.Assert(xptyp != XPathNodeType.Root && xptyp != XPathNodeType.Namespace);
System\Xml\Cache\XPathDocumentNavigator.cs (2)
326if (page[idx].NodeType != XPathNodeType.Namespace) 785case XPathNodeType.Namespace:
System\Xml\Cache\XPathNode.cs (2)
218return NodeType == XPathNodeType.Namespace && localName.Length == 3 && localName == "xml"; 264return xptyp == XPathNodeType.Attribute || xptyp == XPathNodeType.Namespace;
System\Xml\Cache\XPathNodeHelper.cs (1)
282Debug.Assert(typ != XPathNodeType.Attribute && typ != XPathNodeType.Namespace);
System\Xml\Core\XmlWriter.cs (1)
489case XPathNodeType.Namespace:
System\Xml\Core\XmlWriterAsync.cs (1)
441case XPathNodeType.Namespace:
System\Xml\Dom\DocumentSchemaValidator.cs (1)
134if (nodeToValidate.XPNodeType == XPathNodeType.Namespace) goto default;
System\Xml\Dom\DocumentXPathNavigator.cs (1)
1201Debug.Assert( this.NodeType != XPathNodeType.Attribute && this.NodeType != XPathNodeType.Namespace && this.NodeType != XPathNodeType.All );
System\Xml\Dom\XmlAttribute.cs (1)
329return XPathNodeType.Namespace;
System\Xml\ValidateNames.cs (1)
533case XPathNodeType.Namespace:
System\Xml\XPath\Internal\FollowingQuery.cs (1)
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\PrecedingQuery.cs (1)
57if (last.NodeType == XPathNodeType.Attribute || last.NodeType == XPathNodeType.Namespace) {
System\Xml\XPath\Internal\PrecedingSibling.cs (1)
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\XPathDocument.cs (1)
357Debug.Assert(pageElem[idxElem].NodeType == XPathNodeType.Element && pageNmsp[idxNmsp].NodeType == XPathNodeType.Namespace);
System\Xml\XPath\XPathNavigator.cs (15)
425if ((nt != XPathNodeType.Element && scope != XmlNamespaceScope.Local) || nt == XPathNodeType.Attribute || nt == XPathNodeType.Namespace) { 605case XPathNodeType.Namespace: 667case XPathNodeType.Namespace: 677case XPathNodeType.Namespace: 725case XPathNodeType.Namespace: 735case XPathNodeType.Namespace: 1146|| type == XPathNodeType.Namespace) { 1173else if (NodeType == XPathNodeType.Namespace) { 1237case XPathNodeType.Namespace: 1474case XPathNodeType.Namespace: 1508case XPathNodeType.Namespace: 1610case XPathNodeType.Namespace: 1620case XPathNodeType.Namespace: 1666internal const int NoAttrNmspMask = AllMask & ~(1 << (int) XPathNodeType.Attribute) & ~(1 << (int) XPathNodeType.Namespace); 1895case XPathNodeType.Namespace :
System\Xml\XPath\XPathNavigatorReader.cs (4)
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) 554Debug.Assert( XPathNodeType.Namespace == this.nav.NodeType );
System.Xml.Linq (1)
System\Xml\Linq\XNodeNavigator.cs (1)
184return XPathNodeType.Namespace;