11 overrides of NodeType
SMDiagnostics (1)
System\ServiceModel\Diagnostics\TraceXPathNavigator.cs (1)
734
public override XPathNodeType
NodeType
System.Data (1)
fx\src\data\System\NewXml\DataDocumentXPathNavigator.cs (1)
37
public override XPathNodeType
NodeType
{ get { return _curNode.NodeType; } }
System.Data.SqlXml (1)
System\Xml\Xsl\Runtime\RtfNavigator.cs (1)
51
public override XPathNodeType
NodeType
{
System.ServiceModel (3)
System\ServiceModel\Dispatcher\QuerySafeNavigator.cs (2)
270
public override XPathNodeType
NodeType
641
public override XPathNodeType
NodeType
System\ServiceModel\Dispatcher\SeekableMessageNavigator.cs (1)
288
public override XPathNodeType
NodeType
System.Transactions (1)
System\Transactions\Trace\TraceXPathNavigator.cs (1)
404
public override XPathNodeType
NodeType
System.Xml (3)
System\Xml\Cache\XPathDocumentNavigator.cs (1)
145
public override XPathNodeType
NodeType
{
System\Xml\Dom\DocumentXPathNavigator.cs (1)
85
public override XPathNodeType
NodeType
{
System\Xml\XPath\XPathNavigatorReader.cs (1)
1014
public override XPathNodeType
NodeType
{
System.Xml.Linq (1)
System\Xml\Linq\XNodeNavigator.cs (1)
175
public override XPathNodeType
NodeType
{
161 references to NodeType
System.Data.Entity (1)
System\Data\Mapping\StorageMappingItemLoader.cs (1)
231
if (!MoveToRootElement(nav) || (nav.
NodeType
!= XPathNodeType.Element))
System.Data.SqlXml (71)
System\Xml\Xsl\Runtime\TreeIterators.cs (3)
32
if (input.
NodeType
== XPathNodeType.Root) {
321
if (nav.
NodeType
== XPathNodeType.Attribute || nav.
NodeType
== XPathNodeType.Namespace) {
System\Xml\Xsl\Runtime\XmlNavigatorFilter.cs (3)
200
return ((1 << (int) navigator.
NodeType
) & this.mask) == 0;
263
return navigator.
NodeType
== XPathNodeType.Attribute;
346
if (navigator.
NodeType
== XPathNodeType.Attribute) {
System\Xml\Xsl\Runtime\XmlQueryOutput.cs (10)
822
else if (navigator.
NodeType
== XPathNodeType.Root) {
846
if (navigator.
NodeType
== XPathNodeType.Root)
850
Debug.Assert(navigator.
NodeType
== XPathNodeType.Element, "StartCopy should return true only for Element nodes.");
865
if (navigator.
NodeType
== XPathNodeType.Element)
868
Debug.Assert(navigator.
NodeType
== XPathNodeType.Root, "EndCopy should only be called for Element and Document nodes.");
948
nodeType = navigator.
NodeType
;
999
switch (navigator.
NodeType
) {
1092
Debug.Assert(navigator.
NodeType
== XPathNodeType.Element);
1105
Debug.Assert(navigator.
NodeType
== XPathNodeType.Element, "Only elements have namespaces to copy");
1351
if (navigator.
NodeType
!= nodeType) {
System\Xml\Xsl\Runtime\XmlQueryRuntime.cs (9)
720
switch (((XPathNavigator) item).
NodeType
) {
750
switch (nav.
NodeType
) {
754
return XmlQueryTypeFactory.Type(nav.
NodeType
, XmlQualifiedNameTest.New(nav.LocalName, nav.NamespaceURI), XmlSchemaComplexType.UntypedAnyType, false);
756
return XmlQueryTypeFactory.Type(nav.
NodeType
, XmlQualifiedNameTest.New(nav.LocalName, nav.NamespaceURI), nav.XmlType, nav.SchemaInfo.SchemaElement.IsNillable);
760
return XmlQueryTypeFactory.Type(nav.
NodeType
, XmlQualifiedNameTest.New(nav.LocalName, nav.NamespaceURI), DatatypeImplementation.UntypedAtomicType, false);
762
return XmlQueryTypeFactory.Type(nav.
NodeType
, XmlQualifiedNameTest.New(nav.LocalName, nav.NamespaceURI), nav.XmlType, false);
765
return XmlQueryTypeFactory.Type(nav.
NodeType
, XmlQualifiedNameTest.Wildcard, XmlSchemaComplexType.AnyType, false);
1006
if (lineInfo != null && ! (currentNode.
NodeType
== XPathNodeType.Namespace && IsInheritedNamespace(currentNode))) {
1014
Debug.Assert(node.
NodeType
== XPathNodeType.Namespace);
System\Xml\Xsl\Runtime\XmlSequenceWriter.cs (6)
159
if (nav.
NodeType
== XPathNodeType.Attribute || nav.
NodeType
== XPathNodeType.Namespace)
194
nodeType = nav.
NodeType
;
222
if (nav.
NodeType
== XPathNodeType.Element)
244
if (nav.
NodeType
== XPathNodeType.Element)
256
switch (nav.
NodeType
) {
System\Xml\Xsl\Runtime\XsltLibrary.cs (2)
406
XPathNodeType nt1 = nav1.
NodeType
;
407
XPathNodeType nt2 = nav2.
NodeType
;
System\Xml\Xsl\XsltOld\ActionFrame.cs (4)
237
XPathNodeType type = this.nodeSet.Current.
NodeType
;
245
type = this.nodeSet.Current.
NodeType
;
256
XPathNodeType type = this.newNodeSet.Current.
NodeType
;
264
type = this.newNodeSet.Current.
NodeType
;
System\Xml\Xsl\XsltOld\CopyAction.cs (2)
74
if ( frame.Node.
NodeType
== XPathNodeType.Element ) {
80
if (frame.Node.
NodeType
== XPathNodeType.Element && !this.empty) {
System\Xml\Xsl\XsltOld\CopyAttributesAction.cs (7)
44
Debug.Assert(frame.Node.
NodeType
== XPathNodeType.Attribute);
55
Debug.Assert(frame.Node.
NodeType
== XPathNodeType.Attribute);
66
Debug.Assert(frame.Node.
NodeType
== XPathNodeType.Attribute);
77
Debug.Assert(frame.Node.
NodeType
== XPathNodeType.Attribute);
94
Debug.Assert(node.
NodeType
== XPathNodeType.Attribute);
99
Debug.Assert(node.
NodeType
== XPathNodeType.Attribute);
104
Debug.Assert(node.
NodeType
== XPathNodeType.Attribute);
System\Xml\Xsl\XsltOld\CopyNamespacesAction.cs (3)
44
Debug.Assert(frame.Node.
NodeType
== XPathNodeType.Namespace);
55
Debug.Assert(frame.Node.
NodeType
== XPathNodeType.Namespace);
66
Debug.Assert(frame.Node.
NodeType
== XPathNodeType.Namespace);
System\Xml\Xsl\XsltOld\CopyNodesetAction.cs (1)
55
XPathNodeType nodeType = frame.Node.
NodeType
;
System\Xml\Xsl\XsltOld\NavigatorInput.cs (1)
98
return _Navigator.
NodeType
;
System\Xml\Xsl\XsltOld\NumberAction.cs (9)
218
if(endNode.
NodeType
== XPathNodeType.Attribute || endNode.
NodeType
== XPathNodeType.Namespace) {
236
startNode.
NodeType
== XPathNodeType.Root // we are at root
302
Debug.Assert(nav.
NodeType
!= XPathNodeType.Attribute && nav.
NodeType
!= XPathNodeType.Namespace);
364
if (countNode.
NodeType
== XPathNodeType.Attribute || countNode.
NodeType
== XPathNodeType.Namespace) {
405
if (contextNode.Name == nav.Name && BasicNodeType(contextNode.
NodeType
) == BasicNodeType(nav.
NodeType
)) {
System\Xml\Xsl\XsltOld\Processor.cs (10)
540
if (this.stylesheet.Whitespace && n.
NodeType
== XPathNodeType.Element) {
550
Debug.Assert(nav.
NodeType
== XPathNodeType.Element);
554
switch (nav.
NodeType
) {
762
switch (node.
NodeType
) {
767
return BeginEvent(node.
NodeType
, node.Prefix, node.LocalName, node.NamespaceURI, emptyflag);
790
switch (node.
NodeType
) {
817
switch (node.
NodeType
) {
823
return EndEvent(node.
NodeType
);
847
if (navigator.
NodeType
== XPathNodeType.Root) {
850
else if (navigator.
NodeType
== XPathNodeType.Element) {
System\Xml\Xsl\XsltOld\TemplateLookupAction.cs (1)
59
switch (node.
NodeType
) {
System.ServiceModel (7)
System\ServiceModel\Dispatcher\QuerySafeNavigator.cs (3)
274
return this.navigator.
NodeType
;
645
return this.navigator.
NodeType
;
758
return this[nodePosition].
NodeType
;
System\ServiceModel\Dispatcher\QuerySelectOp.cs (3)
88
switch (node.
NodeType
)
297
if (XPathNodeType.Element == contextNode.
NodeType
&& this.MatchQName(contextNode))
378
if (XPathNodeType.Element == contextNode.
NodeType
&& this.MatchQName(contextNode))
System\ServiceModel\Dispatcher\QuerySubExprEliminator.cs (1)
348
if (nav.
NodeType
== XPathNodeType.Element)
System.Xml (82)
System\Xml\Core\XmlWriter.cs (3)
443
XPathNodeType nodeType = navigator.
NodeType
;
505
if (navigator.
NodeType
== XPathNodeType.Element) {
533
if (navigator.
NodeType
== XPathNodeType.Element)
System\Xml\Core\XmlWriterAsync.cs (3)
395
XPathNodeType nodeType = navigator.
NodeType
;
457
if (navigator.
NodeType
== XPathNodeType.Element) {
485
if (navigator.
NodeType
== XPathNodeType.Element)
System\Xml\XPath\Internal\AbsoluteQuery.cs (1)
27
if (context != null && context.
NodeType
== XPathNodeType.Root) {
System\Xml\XPath\Internal\AttributeQuery.cs (1)
53
if (context.
NodeType
== XPathNodeType.Attribute && matches(context)) {
System\Xml\XPath\Internal\BaseAxisQuery.cs (3)
80
TypeTest == e.
NodeType
||
82
TypeTest == XPathNodeType.Text && (e.
NodeType
== XPathNodeType.Whitespace || e.
NodeType
== XPathNodeType.SignificantWhitespace)
System\Xml\XPath\Internal\ChildrenQuery.cs (1)
56
if (temp.
NodeType
!= XPathNodeType.Attribute && temp.MoveToParent()) {
System\Xml\XPath\Internal\FollowingQuery.cs (2)
48
if (input.
NodeType
== XPathNodeType.Attribute || input.
NodeType
== XPathNodeType.Namespace) {
System\Xml\XPath\Internal\NamespaceQuery.cs (1)
52
Debug.Assert(e.
NodeType
== XPathNodeType.Namespace);
System\Xml\XPath\Internal\NodeFunctions.cs (1)
74
if (nav.
NodeType
!= XPathNodeType.Whitespace || xsltContext.PreserveWhitespace(nav)) {
System\Xml\XPath\Internal\PrecedingQuery.cs (2)
57
if (last.
NodeType
== XPathNodeType.Attribute || last.
NodeType
== XPathNodeType.Namespace) {
System\Xml\XPath\Internal\PrecedingSibling.cs (2)
56
if (input.
NodeType
== XPathNodeType.Attribute || input.
NodeType
== XPathNodeType.Namespace) {
System\Xml\XPath\Internal\Query.cs (2)
195
if (last.
NodeType
== XPathNodeType.Namespace && curr.
NodeType
== XPathNodeType.Namespace) {
System\Xml\XPath\Internal\XPathAxisIterator.cs (4)
66
type == nav.
NodeType
||
69
nav.
NodeType
== XPathNodeType.Whitespace ||
70
nav.
NodeType
== XPathNodeType.SignificantWhitespace
75
nav.
NodeType
== XPathNodeType.Element &&
System\Xml\XPath\XPathNavigator.cs (39)
105
switch (
NodeType
) {
363
if (
NodeType
!= XPathNodeType.Element) {
393
if (
NodeType
!= XPathNodeType.Element) {
424
XPathNodeType nt =
NodeType
;
498
switch (
NodeType
) {
603
switch (
NodeType
) {
632
if (
NodeType
== XPathNodeType.Element && localName == LocalName && namespaceURI == NamespaceURI)
646
if (((1 << (int)
NodeType
) & mask) != 0)
665
switch (end.
NodeType
) {
675
switch (
NodeType
) {
707
while (
NodeType
!= XPathNodeType.Element
723
switch (end.
NodeType
) {
733
switch (
NodeType
) {
765
while (((1 << (int)
NodeType
) & mask) == 0);
774
if (
NodeType
== XPathNodeType.Element && localName == LocalName && namespaceURI == NamespaceURI)
786
if (((1 << (int)
NodeType
) & mask) != 0)
877
switch (
NodeType
) {
917
Debug.Assert( schemaType != null || this.
NodeType
== XPathNodeType.Root, "schemaType != null || this.NodeType == XPathNodeType.Root" );
1143
XPathNodeType type =
NodeType
;
1170
if (
NodeType
== XPathNodeType.Attribute) {
1173
else if (
NodeType
== XPathNodeType.Namespace) {
1206
switch (
NodeType
) {
1249
switch (
NodeType
) {
1287
if (!IsValidChildType(newChild.
NodeType
)) {
1312
if (!IsValidChildType(newChild.
NodeType
)) {
1337
if (!IsValidSiblingType(newSibling.
NodeType
)) {
1362
if (!IsValidSiblingType(newSibling.
NodeType
)) {
1436
if (
NodeType
== XPathNodeType.Element && (object) localName == (object) LocalName && namespaceURI == NamespaceURI)
1449
if (((1 << (int)
NodeType
) & mask) != 0)
1459
if (
NodeType
== XPathNodeType.Root)
1472
switch (navSave.
NodeType
) {
1502
switch (
NodeType
) {
1556
sb.Append(NodeTypeLetter[(int)
NodeType
]);
1609
switch (n1.
NodeType
) {
1619
switch (n2.
NodeType
) {
1701
switch (
NodeType
) {
1729
switch (
NodeType
) {
1889
string result = nav.
NodeType
.ToString();
1890
switch (nav.
NodeType
) {
System\Xml\XPath\XPathNavigatorKeyComparer.cs (1)
43
hashCode = (int)nav.
NodeType
;
System\Xml\XPath\XPathNavigatorReader.cs (16)
115
this.nodeType = XPathNavigatorReader.ToXmlNodeType( this.nav.
NodeType
);
183
if (this.nav.
NodeType
== XPathNodeType.Namespace)
195
if (this.nav.
NodeType
== XPathNodeType.Namespace && this.nav.LocalName.Length == 0)
207
if (this.nav.
NodeType
== XPathNodeType.Namespace && this.nav.LocalName.Length != 0)
365
switch (nav.
NodeType
) {
406
switch (nav.
NodeType
) {
550
if (XPathNodeType.Attribute == this.nav.
NodeType
)
554
Debug.Assert( XPathNodeType.Namespace == this.nav.
NodeType
);
849
if ( XPathNodeType.Root == this.nav.
NodeType
) {
856
else if ( XPathNodeType.Attribute == this.nav.
NodeType
) {
859
this.nodeType = ToXmlNodeType( this.nav.
NodeType
);
864
this.nodeType = ToXmlNodeType( this.nav.
NodeType
);
883
this.nodeType = ToXmlNodeType( this.nav.
NodeType
);
887
Debug.Assert( this.nav.
NodeType
== XPathNodeType.Element, this.nav.
NodeType
.ToString() + " == XPathNodeType.Element" );
904
this.nodeType = ToXmlNodeType( this.nav.
NodeType
);