System.Xml.Tests.SimpleWrapperNavigator.IsSamePosition C# (CSharp) Method

IsSamePosition() public method

public IsSamePosition ( XPathNavigator other ) : bool
other System.Xml.XPath.XPathNavigator
return bool
        public override bool IsSamePosition(XPathNavigator other)
        {
            if (other is SimpleWrapperNavigator)
            {
                return _innerNavigator.IsSamePosition((other as SimpleWrapperNavigator)._innerNavigator);
            }
            else
            {
                return _innerNavigator.IsSamePosition(other);
            }
        }