59 references to Root
System.Data (6)
fx\src\data\System\NewXml\DataDocumentXPathNavigator.cs (1)
50
if ( xnt == XPathNodeType.Element || xnt == XPathNodeType.
Root
)
fx\src\data\System\NewXml\XPathNodePointer.cs (5)
49
xmlNodeType_To_XpathNodeType_Map[(int)(XmlNodeType.Document)] = (int)XPathNodeType.
Root
;
51
xmlNodeType_To_XpathNodeType_Map[(int)(XmlNodeType.DocumentFragment)] = (int)XPathNodeType.
Root
;
240
if ( xnt == XPathNodeType.Element || xnt == XPathNodeType.
Root
|| xnt == XPathNodeType.Attribute )
638
case (int)XPathNodeType.
Root
:
659
case (int)XPathNodeType.
Root
:
System.Data.SqlXml (27)
System\Xml\Xsl\IlGen\XmlIlVisitor.cs (3)
3050
case XmlNodeKindFlags.Document: kindsRuntime = XPathNodeType.
Root
; break;
3070
if ((kinds & XmlNodeKindFlags.Document) != 0) kindsUnion |= (1 << (int) XPathNodeType.
Root
);
4251
case QilNodeType.DocumentCtor: return XPathNodeType.
Root
;
System\Xml\Xsl\Runtime\RtfNavigator.cs (1)
52
get { return XPathNodeType.
Root
; }
System\Xml\Xsl\Runtime\TreeIterators.cs (1)
32
if (input.NodeType == XPathNodeType.
Root
) {
System\Xml\Xsl\Runtime\XmlQueryOutput.cs (9)
78
this.rootType = XPathNodeType.
Root
;
546
ThrowInvalidStateError(XPathNodeType.
Root
);
548
StartTree(XPathNodeType.
Root
);
822
else if (navigator.NodeType == XPathNodeType.
Root
) {
846
if (navigator.NodeType == XPathNodeType.
Root
)
868
Debug.Assert(navigator.NodeType == XPathNodeType.
Root
, "EndCopy should only be called for Element and Document nodes.");
1061
case XPathNodeType.
Root
:
1064
ThrowInvalidStateError(XPathNodeType.
Root
);
1426
case XPathNodeType.
Root
:
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (2)
721
case XPathNodeType.
Root
: return code == XmlTypeCode.Document;
751
case XPathNodeType.
Root
:
System\Xml\Xsl\Runtime\XmlSequenceWriter.cs (2)
87
this.writer = doc.LoadFromWriter(XPathDocument.LoadFlags.AtomizeNames | (rootType == XPathNodeType.
Root
? XPathDocument.LoadFlags.None : XPathDocument.LoadFlags.Fragment), string.Empty);
277
case XPathNodeType.
Root
:
System\Xml\Xsl\XsltOld\CopyNodesetAction.cs (1)
57
if (nodeType == XPathNodeType.Element || nodeType == XPathNodeType.
Root
) {
System\Xml\Xsl\XsltOld\NavigatorInput.cs (1)
189
if (NodeType == XPathNodeType.
Root
) {
System\Xml\Xsl\XsltOld\NumberAction.cs (1)
236
startNode.NodeType == XPathNodeType.
Root
// we are at root
System\Xml\Xsl\XsltOld\Processor.cs (4)
775
case XPathNodeType.
Root
:
804
case XPathNodeType.
Root
:
830
case XPathNodeType.
Root
:
847
if (navigator.NodeType == XPathNodeType.
Root
) {
System\Xml\Xsl\XsltOld\RecordBuilder.cs (1)
157
case XPathNodeType.
Root
:
System\Xml\Xsl\XsltOld\TemplateLookupAction.cs (1)
64
case XPathNodeType.
Root
:
System.ServiceModel (3)
System\ServiceModel\Dispatcher\QuerySelectOp.cs (1)
93
case XPathNodeType.
Root
:
System\ServiceModel\Dispatcher\SeekableMessageNavigator.cs (2)
79
BlankDom[RootIndex].type = XPathNodeType.
Root
;
1618
case XPathNodeType.
Root
:
System.Xml (22)
System\Xml\Cache\XPathDocumentBuilder.cs (2)
109
this.idxParent = NewNode(out this.pageParent, XPathNodeType.
Root
, string.Empty, string.Empty, string.Empty, baseUri);
659
Debug.Assert(xptyp != XPathNodeType.
Root
&& xptyp != XPathNodeType.Namespace);
System\Xml\Cache\XPathDocumentIterator.cs (2)
167
if (root.NodeType != XPathNodeType.
Root
) {
228
if (root.NodeType != XPathNodeType.
Root
) {
System\Xml\Cache\XPathDocumentNavigator.cs (1)
198
case XPathNodeType.
Root
:
System\Xml\Core\XmlWriter.cs (1)
480
case XPathNodeType.
Root
:
System\Xml\Core\XmlWriterAsync.cs (1)
432
case XPathNodeType.
Root
:
System\Xml\Dom\XmlDocument.cs (1)
1514
internal override XPathNodeType XPNodeType { get { return XPathNodeType.
Root
; } }
System\Xml\Dom\XmlDocumentFragment.cs (1)
174
internal override XPathNodeType XPNodeType { get { return XPathNodeType.
Root
; } }
System\Xml\XPath\Internal\AbsoluteQuery.cs (1)
27
if (context != null && context.NodeType == XPathNodeType.
Root
) {
System\Xml\XPath\Internal\XPathParser.cs (2)
362
/* default: */ XPathNodeType.
Root
364
Debug.Assert(nodeType != XPathNodeType.
Root
);
System\Xml\XPath\XPathNavigator.cs (9)
499
case XPathNodeType.
Root
:
878
case XPathNodeType.
Root
:
917
Debug.Assert( schemaType != null || this.NodeType == XPathNodeType.
Root
, "schemaType != null || this.NodeType == XPathNodeType.Root" );
1144
if (type == XPathNodeType.
Root
1207
case XPathNodeType.
Root
:
1250
case XPathNodeType.
Root
:
1459
if (NodeType == XPathNodeType.
Root
)
1669
(1 << (int) XPathNodeType.
Root
), // Root
1702
case XPathNodeType.
Root
:
System\Xml\XPath\XPathNavigatorReader.cs (1)
849
if ( XPathNodeType.
Root
== this.nav.NodeType ) {
System.Xml.Linq (1)
System\Xml\Linq\XNodeNavigator.cs (1)
188
return XPathNodeType.
Root
;