48 references to NodeType
System.Xml (48)
System\Xml\Cache\XPathDocumentBuilder.cs (8)
196
Debug.Assert(this.pageParent[this.idxParent].
NodeType
== XPathNodeType.Element);
264
Debug.Assert(this.idxParent == 0 || this.pageParent[this.idxParent].
NodeType
== XPathNodeType.Element);
265
Debug.Assert(this.idxSibling == 0 || this.pageSibling[this.idxSibling].
NodeType
== XPathNodeType.Attribute);
280
Debug.Assert(this.pageSibling[this.idxSibling].
NodeType
== XPathNodeType.Attribute);
433
Debug.Assert(this.pageParent[this.idxParent].
NodeType
== XPathNodeType.Element);
443
Debug.Assert(this.idxSibling == 0 || this.pageSibling[this.idxSibling].
NodeType
== XPathNodeType.Attribute);
446
Debug.Assert(this.idxParent == 0 || this.pageParent[this.idxParent].
NodeType
== XPathNodeType.Element);
566
Debug.Assert(pageElem == null || pageElem[idxElem].
NodeType
== XPathNodeType.Element);
System\Xml\Cache\XPathDocumentNavigator.cs (11)
95
Debug.Assert(this.pageCurrent[this.idxCurrent].
NodeType
== XPathNodeType.Text);
112
Debug.Assert(page[idx].
NodeType
== XPathNodeType.Element || page[idx].IsText);
146
get { return this.pageCurrent[this.idxCurrent].
NodeType
; }
196
switch (page[idx].
NodeType
) {
326
if (page[idx].
NodeType
!= XPathNodeType.Namespace)
446
Debug.Assert(page[idx].
NodeType
== XPathNodeType.Element);
620
if (page[idx].
NodeType
== XPathNodeType.Element) {
784
switch (this.pageCurrent[this.idxCurrent].
NodeType
) {
810
buf[idx++] = NodeTypeLetter[(int)this.pageCurrent[this.idxCurrent].
NodeType
];
911
return (((1 << (int) this.pageCurrent[this.idxCurrent].
NodeType
) & GetContentKindMask(typ)) != 0);
919
return (((1 << (int) this.pageCurrent[this.idxCurrent].
NodeType
) & GetKindMask(typ)) != 0);
System\Xml\Cache\XPathNode.cs (6)
207
return
NodeType
== XPathNodeType.Element &&
218
return
NodeType
== XPathNodeType.Namespace && localName.Length == 3 && localName == "xml";
263
XPathNodeType xptyp =
NodeType
;
272
get { return XPathNavigator.IsText(
NodeType
); }
361
Debug.Assert(
NodeType
== XPathNodeType.Element);
371
Debug.Assert(
NodeType
== XPathNodeType.Element);
System\Xml\Cache\XPathNodeHelper.cs (20)
30
Debug.Assert(pageElem[idxElem].
NodeType
== XPathNodeType.Element);
46
if (pageElem[idxElem].
NodeType
== XPathNodeType.Element) {
73
Debug.Assert(pageNode[idxNode].
NodeType
== XPathNodeType.Attribute);
89
if (idx != 0 && page[idx].
NodeType
== XPathNodeType.Attribute) {
110
while (page[idx].
NodeType
== XPathNodeType.Attribute) {
212
if (page[idx].
NodeType
!= XPathNodeType.Attribute) {
246
if (((1 << (int) page[idx].
NodeType
) & mask) != 0) {
274
if (page[idx].
NodeType
!= XPathNodeType.Attribute) {
281
if (((1 << (int) page[idx].
NodeType
) & mask) != 0) {
301
Debug.Assert(pageNode[idxNode].
NodeType
!= XPathNodeType.Attribute);
338
if (pagePrec[idxPrec].
NodeType
!= XPathNodeType.Attribute) {
359
if (page[idx].
NodeType
!= XPathNodeType.Attribute) {
389
if (((1 << (int) page[idx].
NodeType
) & mask) != 0) {
420
while (idx != 0 && page[idx].
NodeType
== XPathNodeType.Attribute);
465
if (page[idx].
NodeType
== XPathNodeType.Element && (object) page[idx].LocalName == (object) localName) {
551
Debug.Assert(page[idx].
NodeType
!= XPathNodeType.Attribute, "Current node should never be an attribute or namespace--caller should handle this case.");
560
if (((1 << (int) page[idx].
NodeType
) & mask) != 0)
569
if (((1 << (int) page[idx].
NodeType
) & mask) != 0)
611
if (page[idx].IsText || (page[idx].
NodeType
== XPathNodeType.Element && page[idx].HasCollapsedText))
620
if (page[idx].IsText || (page[idx].
NodeType
== XPathNodeType.Element && page[idx].HasCollapsedText))
System\Xml\XPath\XPathDocument.cs (3)
357
Debug.Assert(pageElem[idxElem].
NodeType
== XPathNodeType.Element && pageNmsp[idxNmsp].
NodeType
== XPathNodeType.Namespace);
370
Debug.Assert(pageElem[idxElem].
NodeType
== XPathNodeType.Element);