9 references to Compare
UIAutomationClient (9)
MS\Internal\Automation\EventListenerClientSide.cs (5)
129if ((_eventListener.TreeScope & TreeScope.Element) != 0 && Misc.Compare(el, elThis)) 140if (elParent != null && Misc.Compare(elParent, elThis)) 148if (elParent != null && Misc.Compare(elParent, el)) 264if( ! Misc.Compare( el, elPossibleParent ) ) 269if( Misc.Compare( elPossibleChild, elPossibleParent ) )
System\Windows\Automation\Automation.cs (2)
70return Misc.Compare(el1, el2); 147if ( Misc.Compare( element, AutomationElement.RootElement ) )
System\Windows\Automation\AutomationElement.cs (1)
314return Misc.Compare(this, el);
System\Windows\Automation\TextPattern.cs (1)
285return Misc.Compare(t1._element, t2._element);