<PackageReference Include="System.Xml.XPath" Version="4.0.1-beta-23409" />

XmlNodeOrder

public enum XmlNodeOrder
Describes the document order of a node compared to a second node.
After = 1

The current node of this navigator is after the current node of the supplied navigator.

Before = 0

The current node of this navigator is before the current node of the supplied navigator.

Same = 2

The two navigators are positioned on the same node.

Unknown = 3

The node positions cannot be determined in document order, relative to each other. This could occur if the two nodes reside in different trees.