49 references to NodeType
dotnet-svcutil-lib (49)
FrameworkFork\Microsoft.Xml\Xml\Cache\XPathDocumentBuilder.cs (8)
209
Debug.Assert(_pageParent[_idxParent].
NodeType
== XPathNodeType.Element);
284
Debug.Assert(_idxParent == 0 || _pageParent[_idxParent].
NodeType
== XPathNodeType.Element);
285
Debug.Assert(_idxSibling == 0 || _pageSibling[_idxSibling].
NodeType
== XPathNodeType.Attribute);
302
Debug.Assert(_pageSibling[_idxSibling].
NodeType
== XPathNodeType.Attribute);
475
Debug.Assert(_pageParent[_idxParent].
NodeType
== XPathNodeType.Element);
486
Debug.Assert(_idxSibling == 0 || _pageSibling[_idxSibling].
NodeType
== XPathNodeType.Attribute);
489
Debug.Assert(_idxParent == 0 || _pageParent[_idxParent].
NodeType
== XPathNodeType.Element);
622
Debug.Assert(pageElem == null || pageElem[idxElem].
NodeType
== XPathNodeType.Element);
FrameworkFork\Microsoft.Xml\Xml\Cache\XPathDocumentNavigator.cs (12)
81
switch (_pageCurrent[_idxCurrent].
NodeType
)
100
Debug.Assert(_pageCurrent[_idxCurrent].
NodeType
== XPathNodeType.Text);
119
Debug.Assert(page[idx].
NodeType
== XPathNodeType.Element || page[idx].IsText);
158
get { return _pageCurrent[_idxCurrent].
NodeType
; }
217
switch (page[idx].
NodeType
)
362
if (page[idx].
NodeType
!= XPathNodeType.Namespace)
494
Debug.Assert(page[idx].
NodeType
== XPathNodeType.Element);
687
if (page[idx].
NodeType
== XPathNodeType.Element)
871
switch (_pageCurrent[_idxCurrent].
NodeType
)
900
buf[idx++] = NodeTypeLetter[(int)_pageCurrent[_idxCurrent].
NodeType
];
1014
return (((1 << (int)_pageCurrent[_idxCurrent].
NodeType
) & GetContentKindMask(typ)) != 0);
1023
return (((1 << (int)_pageCurrent[_idxCurrent].
NodeType
) & GetKindMask(typ)) != 0);
FrameworkFork\Microsoft.Xml\Xml\Cache\XPathNode.cs (6)
227
return
NodeType
== XPathNodeType.Element &&
240
return
NodeType
== XPathNodeType.Namespace && localName.Length == 3 && localName == "xml";
292
XPathNodeType xptyp =
NodeType
;
302
get { return XPathNavigator.IsText(
NodeType
); }
402
Debug.Assert(
NodeType
== XPathNodeType.Element);
413
Debug.Assert(
NodeType
== XPathNodeType.Element);
FrameworkFork\Microsoft.Xml\Xml\Cache\XPathNodeHelper.cs (20)
30
Debug.Assert(pageElem[idxElem].
NodeType
== XPathNodeType.Element);
47
if (pageElem[idxElem].
NodeType
== XPathNodeType.Element)
79
Debug.Assert(pageNode[idxNode].
NodeType
== XPathNodeType.Attribute);
96
if (idx != 0 && page[idx].
NodeType
== XPathNodeType.Attribute)
120
while (page[idx].
NodeType
== XPathNodeType.Attribute)
234
if (page[idx].
NodeType
!= XPathNodeType.Attribute)
274
if (((1 << (int)page[idx].
NodeType
) & mask) != 0)
304
if (page[idx].
NodeType
!= XPathNodeType.Attribute)
313
if (((1 << (int)page[idx].
NodeType
) & mask) != 0)
335
Debug.Assert(pageNode[idxNode].
NodeType
!= XPathNodeType.Attribute);
376
if (pagePrec[idxPrec].
NodeType
!= XPathNodeType.Attribute)
399
if (page[idx].
NodeType
!= XPathNodeType.Attribute)
434
if (((1 << (int)page[idx].
NodeType
) & mask) != 0)
470
while (idx != 0 && page[idx].
NodeType
== XPathNodeType.Attribute);
519
if (page[idx].
NodeType
== XPathNodeType.Element && (object)page[idx].LocalName == (object)localName)
615
Debug.Assert(page[idx].
NodeType
!= XPathNodeType.Attribute, "Current node should never be an attribute or namespace--caller should handle this case.");
627
if (((1 << (int)page[idx].
NodeType
) & mask) != 0)
638
if (((1 << (int)page[idx].
NodeType
) & mask) != 0)
684
if (page[idx].IsText || (page[idx].
NodeType
== XPathNodeType.Element && page[idx].HasCollapsedText))
695
if (page[idx].IsText || (page[idx].
NodeType
== XPathNodeType.Element && page[idx].HasCollapsedText))
FrameworkFork\Microsoft.Xml\Xml\XPath\XPathDocument.cs (3)
396
Debug.Assert(pageElem[idxElem].
NodeType
== XPathNodeType.Element && pageNmsp[idxNmsp].
NodeType
== XPathNodeType.Namespace);
410
Debug.Assert(pageElem[idxElem].
NodeType
== XPathNodeType.Element);