public static bool IsSameNode(AccessibilityNodeInfo node1, AccessibilityNodeInfo node2)
 {
     if (node1 != null && node2 != null)
     {
         return(node1.Equals(node2) || node1.GetHashCode() == node2.GetHashCode());
     }
     return(false);
 }
 public static bool IsSameNode(AccessibilityNodeInfo info1, AccessibilityNodeInfo info2)
 {
     if (info1 != null && info2 != null)
     {
         return(info1.Equals(info2) || info1.GetHashCode() == info2.GetHashCode());
     }
     return(false);
 }