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