56 references to Root
System.Data.Common (6)
System\Xml\DataDocumentXPathNavigator.cs (1)
59
return xnt == XPathNodeType.Element || xnt == XPathNodeType.
Root
? _curNode.InnerText : _curNode.Value!;
System\Xml\XPathNodePointer.cs (5)
37
/*XmlNodeType.Document*/ (int)XPathNodeType.
Root
,
39
/*XmlNodeType.DocumentFragment*/ (int)XPathNodeType.
Root
,
256
if (xnt == XPathNodeType.Element || xnt == XPathNodeType.
Root
|| xnt == XPathNodeType.Attribute)
691
(int)XPathNodeType.
Root
=>
714
(int)XPathNodeType.
Root
=> c.ColumnMapping == MappingType.Element,
System.Private.Xml (49)
System\Xml\Cache\XPathDocumentBuilder.cs (2)
117
_idxParent = NewNode(out _pageParent, XPathNodeType.
Root
, string.Empty, string.Empty, string.Empty, baseUri);
734
Debug.Assert(xptyp != XPathNodeType.
Root
&& xptyp != XPathNodeType.Namespace);
System\Xml\Cache\XPathDocumentIterator.cs (2)
185
if (root.NodeType != XPathNodeType.
Root
)
254
if (root.NodeType != XPathNodeType.
Root
)
System\Xml\Cache\XPathDocumentNavigator.cs (1)
219
case XPathNodeType.
Root
:
System\Xml\Core\XmlWriter.cs (1)
475
case XPathNodeType.
Root
:
System\Xml\Core\XmlWriterAsync.cs (1)
475
case XPathNodeType.
Root
:
System\Xml\Dom\XmlDocument.cs (1)
1806
internal override XPathNodeType XPNodeType { get { return XPathNodeType.
Root
; } }
System\Xml\Dom\XmlDocumentFragment.cs (1)
194
internal override XPathNodeType XPNodeType { get { return XPathNodeType.
Root
; } }
System\Xml\XPath\Internal\AbsoluteQuery.cs (1)
25
if (context != null && context.NodeType == XPathNodeType.
Root
)
System\Xml\XPath\Internal\XPathParser.cs (2)
413
/* default: */ XPathNodeType.
Root
415
Debug.Assert(nodeType != XPathNodeType.
Root
);
System\Xml\XPath\XPathNavigator.cs (9)
555
case XPathNodeType.
Root
:
994
case XPathNodeType.
Root
:
1039
Debug.Assert(schemaType != null || this.NodeType == XPathNodeType.
Root
, "schemaType != null || this.NodeType == XPathNodeType.Root");
1303
if (type == XPathNodeType.
Root
1377
case XPathNodeType.
Root
:
1424
case XPathNodeType.
Root
:
1660
if (NodeType == XPathNodeType.
Root
)
1898
(1 << (int) XPathNodeType.
Root
), // Root
1936
case XPathNodeType.
Root
:
System\Xml\XPath\XPathNavigatorReader.cs (1)
982
if (XPathNodeType.
Root
== _nav.NodeType)
System\Xml\Xsl\IlGen\XmlIlVisitor.cs (3)
3282
case XmlNodeKindFlags.Document: kindsRuntime = XPathNodeType.
Root
; break;
3303
if ((kinds & XmlNodeKindFlags.Document) != 0) kindsUnion |= (1 << (int)XPathNodeType.
Root
);
4594
case QilNodeType.DocumentCtor: return XPathNodeType.
Root
;
System\Xml\Xsl\Runtime\RtfNavigator.cs (1)
49
get { return XPathNodeType.
Root
; }
System\Xml\Xsl\Runtime\TreeIterators.cs (1)
30
if (input.NodeType == XPathNodeType.
Root
)
System\Xml\Xsl\Runtime\XmlQueryOutput.cs (9)
78
_rootType = XPathNodeType.
Root
;
597
ThrowInvalidStateError(XPathNodeType.
Root
);
599
StartTree(XPathNodeType.
Root
);
904
else if (navigator.NodeType == XPathNodeType.
Root
)
933
if (navigator.NodeType == XPathNodeType.
Root
)
957
Debug.Assert(navigator.NodeType == XPathNodeType.
Root
, "EndCopy should only be called for Element and Document nodes.");
1173
case XPathNodeType.
Root
:
1176
ThrowInvalidStateError(XPathNodeType.
Root
);
1569
case XPathNodeType.
Root
:
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (2)
765
case XPathNodeType.
Root
: return code == XmlTypeCode.Document;
798
case XPathNodeType.
Root
:
System\Xml\Xsl\Runtime\XmlSequenceWriter.cs (2)
86
_writer = _doc.LoadFromWriter(XPathDocument.LoadFlags.AtomizeNames | (rootType == XPathNodeType.
Root
? XPathDocument.LoadFlags.None : XPathDocument.LoadFlags.Fragment), string.Empty);
302
case XPathNodeType.
Root
:
System\Xml\Xsl\XsltOld\CopyNodeSetAction.cs (1)
61
if (nodeType == XPathNodeType.Element || nodeType == XPathNodeType.
Root
)
System\Xml\Xsl\XsltOld\NavigatorInput.cs (1)
222
if (NodeType == XPathNodeType.
Root
)
System\Xml\Xsl\XsltOld\NumberAction.cs (1)
258
startNode.NodeType == XPathNodeType.
Root
// we are at root
System\Xml\Xsl\XsltOld\Processor.cs (4)
859
case XPathNodeType.
Root
:
890
case XPathNodeType.
Root
:
918
case XPathNodeType.
Root
:
936
if (navigator.NodeType == XPathNodeType.
Root
)
System\Xml\Xsl\XsltOld\RecordBuilder.cs (1)
168
case XPathNodeType.
Root
:
System\Xml\Xsl\XsltOld\TemplateLookupAction.cs (1)
68
case XPathNodeType.
Root
:
System.Private.Xml.Linq (1)
System\Xml\XPath\XNodeNavigator.cs (1)
212
return XPathNodeType.
Root
;