125 references to XmlNodeOrder
System.Data (25)
fx\src\data\System\NewXml\DataDocumentXPathNavigator.cs (3)
188
public override
XmlNodeOrder
ComparePosition( XPathNavigator other ) {
190
return
XmlNodeOrder
.Unknown; // this is what XPathDocument does. // WebData 103403
195
return
XmlNodeOrder
.Unknown;
fx\src\data\System\NewXml\XPathNodePointer.cs (22)
955
private
XmlNodeOrder
CompareNamespacePosition( XPathNodePointer other ) {
961
return
XmlNodeOrder
.Before;
963
return
XmlNodeOrder
.After;
978
internal
XmlNodeOrder
ComparePosition( XPathNodePointer other ) {
984
return
XmlNodeOrder
.Same;
999
return
XmlNodeOrder
.After;
1001
return
XmlNodeOrder
.Before;
1012
return
XmlNodeOrder
.Before;
1014
return
XmlNodeOrder
.After;
1027
return
XmlNodeOrder
.After;
1029
return
XmlNodeOrder
.Before;
1034
return
XmlNodeOrder
.Before;
1036
return
XmlNodeOrder
.After;
1038
return
XmlNodeOrder
.Before;
1040
return
XmlNodeOrder
.After;
1052
return
XmlNodeOrder
.Unknown;
1060
return
XmlNodeOrder
.Unknown;
1068
return
XmlNodeOrder
.After;
1076
return
XmlNodeOrder
.Before;
1087
return
XmlNodeOrder
.Before;
1090
return
XmlNodeOrder
.After;
1100
return
XmlNodeOrder
.Unknown;
System.Data.SqlXml (13)
System\Xml\Xsl\Runtime\ContentIterators.cs (4)
398
XmlNodeOrder
cmp;
406
if (cmp ==
XmlNodeOrder
.Before || cmp ==
XmlNodeOrder
.Unknown) {
413
if (cmp ==
XmlNodeOrder
.After) {
System\Xml\Xsl\Runtime\DocumentOrderComparer.cs (3)
32
case
XmlNodeOrder
.Before: return -1;
33
case
XmlNodeOrder
.Same: return 0;
34
case
XmlNodeOrder
.After: return 1;
System\Xml\Xsl\Runtime\SiblingIterators.cs (1)
164
return (this.navCurrent.ComparePosition(this.navEnd) ==
XmlNodeOrder
.Before);
System\Xml\Xsl\Runtime\TreeIterators.cs (2)
425
if (this.navCurrent.ComparePosition(input) !=
XmlNodeOrder
.Unknown)
702
if (this.navCurrent.ComparePosition(input) !=
XmlNodeOrder
.Unknown) {
System\Xml\Xsl\XsltOld\XsltCompileContext.cs (3)
279
value.ComparePosition((XPathNavigator) list[list.Count - 1]) !=
XmlNodeOrder
.Before,
285
if (value.ComparePosition((XPathNavigator) list[list.Count - 1]) ==
XmlNodeOrder
.Same) {
290
value.ComparePosition((XPathNavigator) list[list.Count - 1]) !=
XmlNodeOrder
.Same,
System.ServiceModel (30)
System\ServiceModel\Dispatcher\QueryNode.cs (5)
235
XmlNodeOrder
order = item1.Node.ComparePosition(item1.Position, item2.Position);
239
case
XmlNodeOrder
.Before:
243
case
XmlNodeOrder
.Same:
247
case
XmlNodeOrder
.After:
251
case
XmlNodeOrder
.Unknown:
System\ServiceModel\Dispatcher\QuerySafeNavigator.cs (8)
313
public override
XmlNodeOrder
ComparePosition(XPathNavigator navigator)
317
return
XmlNodeOrder
.Unknown;
325
return
XmlNodeOrder
.Unknown;
328
public override
XmlNodeOrder
ComparePosition(long x, long y)
718
public override
XmlNodeOrder
ComparePosition(XPathNavigator navigator)
722
return
XmlNodeOrder
.Unknown;
730
return
XmlNodeOrder
.Unknown;
733
public override
XmlNodeOrder
ComparePosition(long x, long y)
System\ServiceModel\Dispatcher\SeekableMessageNavigator.cs (16)
353
public override
XmlNodeOrder
ComparePosition(XPathNavigator nav)
357
return
XmlNodeOrder
.Unknown;
366
return
XmlNodeOrder
.Unknown;
370
internal
XmlNodeOrder
ComparePosition(SeekableMessageNavigator nav)
374
return
XmlNodeOrder
.Unknown;
379
return
XmlNodeOrder
.Unknown;
386
public override
XmlNodeOrder
ComparePosition(long pos1, long pos2)
1323
XmlNodeOrder
CompareLocation(int loc1, int loc2)
1327
return
XmlNodeOrder
.Same;
1331
return
XmlNodeOrder
.Before;
1335
return
XmlNodeOrder
.After;
1340
XmlNodeOrder
ComparePosition(int p1, int loc1, int p2, int loc2)
1397
return
XmlNodeOrder
.Before;
1402
return
XmlNodeOrder
.After;
1411
return
XmlNodeOrder
.After;
1416
return
XmlNodeOrder
.Before;
System\ServiceModel\Dispatcher\SeekableXPathNavigator.cs (1)
35
public abstract
XmlNodeOrder
ComparePosition(long firstPosition, long secondPosition);
System.Xml (57)
System\Xml\Cache\XPathDocumentNavigator.cs (5)
705
public override
XmlNodeOrder
ComparePosition(XPathNavigator other) {
719
return
XmlNodeOrder
.Same;
721
return (locThis < locThat) ?
XmlNodeOrder
.Before :
XmlNodeOrder
.After;
724
return
XmlNodeOrder
.Unknown;
System\Xml\Dom\DocumentXPathNavigator.cs (15)
1077
private
XmlNodeOrder
Compare( XmlNode node1, XmlNode node2 ) {
1091
return
XmlNodeOrder
.Before;
1094
return
XmlNodeOrder
.After;
1098
return
XmlNodeOrder
.Unknown;
1101
return
XmlNodeOrder
.Before;
1105
return
XmlNodeOrder
.After;
1114
return
XmlNodeOrder
.After;
1117
return
XmlNodeOrder
.Before;
1120
public override
XmlNodeOrder
ComparePosition(XPathNavigator other) {
1123
return
XmlNodeOrder
.Unknown;
1131
return
XmlNodeOrder
.Same;
1146
return
XmlNodeOrder
.Unknown;
1163
return
XmlNodeOrder
.Before;
1174
return
XmlNodeOrder
.After;
1190
return
XmlNodeOrder
.Unknown;
System\Xml\XPath\Internal\CacheChildrenQuery.cs (1)
103
if (CompareNodes(currentNode, nextInput) ==
XmlNodeOrder
.After) {
System\Xml\XPath\Internal\Query.cs (15)
110
case
XmlNodeOrder
.Same:
112
case
XmlNodeOrder
.Before:
124
case
XmlNodeOrder
.Same:
126
case
XmlNodeOrder
.Before:
144
public static
XmlNodeOrder
CompareNodes(XPathNavigator l, XPathNavigator r) {
145
XmlNodeOrder
cmp = l.ComparePosition(r);
146
if (cmp ==
XmlNodeOrder
.Unknown) {
157
cmpBase < 0 ?
XmlNodeOrder
.Before :
158
cmpBase > 0 ?
XmlNodeOrder
.After :
159
/*default*/
XmlNodeOrder
.Unknown
170
XmlNodeOrder
cmp;
173
Debug.Assert(cmp ==
XmlNodeOrder
.Before, "Algorithm error: Insert()");
177
Debug.Assert(cmp ==
XmlNodeOrder
.Before, "Algorithm error: Insert()");
200
XmlNodeOrder
cmp = CompareNodes(last, curr);
201
Debug.Assert(cmp ==
XmlNodeOrder
.Before, "AssertQuery(): Wrong node order");
System\Xml\XPath\Internal\UnionExpr.cs (3)
83
XmlNodeOrder
order = 0;
110
if (order ==
XmlNodeOrder
.Before) {
112
} else if (order ==
XmlNodeOrder
.After) {
System\Xml\XPath\Internal\XPathMultyIterator.cs (3)
95
XmlNodeOrder
order = Query.CompareNodes(it.Current, arr[item + 1].Current);
96
if (order ==
XmlNodeOrder
.Before) {
99
if (order ==
XmlNodeOrder
.After) {
System\Xml\XPath\XPathNavigator.cs (12)
816
public virtual
XmlNodeOrder
ComparePosition( XPathNavigator nav ) {
818
return
XmlNodeOrder
.Unknown;
822
return
XmlNodeOrder
.Same;
836
return
XmlNodeOrder
.After;
845
return
XmlNodeOrder
.Before;
853
return
XmlNodeOrder
.Unknown;
1601
private
XmlNodeOrder
CompareSiblings(XPathNavigator n1, XPathNavigator n2) {
1624
return
XmlNodeOrder
.Before;
1634
return
XmlNodeOrder
.Before;
1644
return
XmlNodeOrder
.Before;
1650
return cmp < 0 ?
XmlNodeOrder
.Before :
XmlNodeOrder
.After;
System\Xml\XPath\XPathNavigatorReader.cs (3)
1134
public override
XmlNodeOrder
ComparePosition(XPathNavigator other) {
1136
return ((object) this == (object) other) ?
XmlNodeOrder
.Same :
XmlNodeOrder
.Unknown;