97 references to XmlNodeOrder
netstandard (1)
netstandard.cs (1)
2488[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.XmlNodeOrder))]
System.Data.Common (25)
System\Xml\DataDocumentXPathNavigator.cs (3)
165public override XmlNodeOrder ComparePosition(XPathNavigator? other) 169return XmlNodeOrder.Unknown; // this is what XPathDocument does. 175XmlNodeOrder.Unknown :
System\Xml\XPathNodePointer.cs (22)
1058private XmlNodeOrder CompareNamespacePosition(XPathNodePointer other) 1065return XmlNodeOrder.Before; 1067return XmlNodeOrder.After; 1085internal XmlNodeOrder ComparePosition(XPathNodePointer other) 1091return XmlNodeOrder.Same; 1110return XmlNodeOrder.After; 1112return XmlNodeOrder.Before; 1125return XmlNodeOrder.Before; 1127return XmlNodeOrder.After; 1143return XmlNodeOrder.After; 1145return XmlNodeOrder.Before; 1151return XmlNodeOrder.Before; 1153return XmlNodeOrder.After; 1155return XmlNodeOrder.Before; 1157return XmlNodeOrder.After; 1169return XmlNodeOrder.Unknown; 1177return XmlNodeOrder.Unknown; 1187return XmlNodeOrder.After; 1197return XmlNodeOrder.Before; 1211return XmlNodeOrder.Before; 1214return XmlNodeOrder.After; 1223return XmlNodeOrder.Unknown;
System.Private.Xml (68)
System\Xml\Cache\XPathDocumentNavigator.cs (5)
785public override XmlNodeOrder ComparePosition(XPathNavigator? other) 803return XmlNodeOrder.Same; 805return (locThis < locThat) ? XmlNodeOrder.Before : XmlNodeOrder.After; 808return XmlNodeOrder.Unknown;
System\Xml\Dom\DocumentXPathNavigator.cs (15)
1305private static XmlNodeOrder Compare(XmlNode node1, XmlNode node2) 1326return XmlNodeOrder.Before; 1330return XmlNodeOrder.After; 1334return XmlNodeOrder.Unknown; 1338return XmlNodeOrder.Before; 1343return XmlNodeOrder.After; 1352return XmlNodeOrder.After; 1355return XmlNodeOrder.Before; 1358public override XmlNodeOrder ComparePosition(XPathNavigator? other) 1362return XmlNodeOrder.Unknown; 1371return XmlNodeOrder.Same; 1389return XmlNodeOrder.Unknown; 1410return XmlNodeOrder.Before; 1425return XmlNodeOrder.After; 1444return XmlNodeOrder.Unknown;
System\Xml\XPath\Internal\CacheChildrenQuery.cs (1)
107if (CompareNodes(currentNode!, _nextInput) == XmlNodeOrder.After)
System\Xml\XPath\Internal\Query.cs (10)
115case XmlNodeOrder.Same: 117case XmlNodeOrder.Before: 131case XmlNodeOrder.Same: 133case XmlNodeOrder.Before: 151public static XmlNodeOrder CompareNodes(XPathNavigator l, XPathNavigator r) 153XmlNodeOrder cmp = l.ComparePosition(r); 154if (cmp == XmlNodeOrder.Unknown) 167cmpBase < 0 ? XmlNodeOrder.Before : 168cmpBase > 0 ? XmlNodeOrder.After : 169/*default*/ XmlNodeOrder.Unknown
System\Xml\XPath\Internal\UnionExpr.cs (3)
89XmlNodeOrder order; 127if (order == XmlNodeOrder.Before) 131else if (order == XmlNodeOrder.After)
System\Xml\XPath\Internal\XPathMultyIterator.cs (3)
75XmlNodeOrder order = Query.CompareNodes(it.Current, itNext.Current); 76if (order == XmlNodeOrder.Before) 80if (order == XmlNodeOrder.After)
System\Xml\XPath\XPathNavigator.cs (12)
920public virtual XmlNodeOrder ComparePosition(XPathNavigator? nav) 924return XmlNodeOrder.Unknown; 928return XmlNodeOrder.Same; 944return XmlNodeOrder.After; 955return XmlNodeOrder.Before; 964return XmlNodeOrder.Unknown; 1816private static XmlNodeOrder CompareSiblings(XPathNavigator n1, XPathNavigator n2) 1845return XmlNodeOrder.Before; 1858return XmlNodeOrder.Before; 1871return XmlNodeOrder.Before; 1877return cmp < 0 ? XmlNodeOrder.Before : XmlNodeOrder.After;
System\Xml\XPath\XPathNavigatorReader.cs (3)
1308public override XmlNodeOrder ComparePosition(XPathNavigator? other) 1311return ((object)this == (object?)other) ? XmlNodeOrder.Same : XmlNodeOrder.Unknown;
System\Xml\Xsl\Runtime\ContentIterators.cs (4)
439XmlNodeOrder cmp; 447if (cmp == XmlNodeOrder.Before || cmp == XmlNodeOrder.Unknown) 455if (cmp == XmlNodeOrder.After)
System\Xml\Xsl\Runtime\DocumentOrderComparer.cs (3)
32case XmlNodeOrder.Before: return -1; 33case XmlNodeOrder.Same: return 0; 34case XmlNodeOrder.After: return 1;
System\Xml\Xsl\Runtime\SiblingIterators.cs (1)
178return (_navCurrent.ComparePosition(_navEnd) == XmlNodeOrder.Before);
System\Xml\Xsl\Runtime\TreeIterators.cs (2)
468if (_navCurrent.ComparePosition(input) != XmlNodeOrder.Unknown) 773if (_navCurrent.ComparePosition(input) != XmlNodeOrder.Unknown)
System\Xml\Xsl\Runtime\XmlQuerySequence.cs (3)
581XmlNodeOrder cmp = this[iNav].ComparePosition(this[iNav + 1]); 582Debug.Assert(cmp == XmlNodeOrder.Before || cmp == XmlNodeOrder.Unknown);
System\Xml\Xsl\XsltOld\XsltCompileContext.cs (3)
330value.ComparePosition((XPathNavigator?)list[list.Count - 1]) != XmlNodeOrder.Before, 337if (value.ComparePosition((XPathNavigator?)list[list.Count - 1]) == XmlNodeOrder.Same) 345value.ComparePosition((XPathNavigator?)list[list.Count - 1]) != XmlNodeOrder.Same,
System.Xml (1)
System.Xml.cs (1)
217[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.XmlNodeOrder))]
System.Xml.ReaderWriter (1)
artifacts\obj\System.Xml.ReaderWriter\Debug\net10.0\System.Xml.ReaderWriter.Forwards.cs (1)
145[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.XmlNodeOrder))]
System.Xml.XPath (1)
artifacts\obj\System.Xml.XPath\Debug\net10.0\System.Xml.XPath.Forwards.cs (1)
3[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Xml.XmlNodeOrder))]