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