public bool SameMatcher(IMatcher other) { if (other.GetType() != this.GetType()) { return(false); } ExactLiteralMatcher other1 = other as ExactLiteralMatcher; return(m_target == other1.m_target && m_ws == other1.m_ws); }
public bool SameMatcher(IMatcher other) { // TODO-Linux: System.Boolean System.Type::op_Inequality(System.Type,System.Type) // is marked with [MonoTODO] and might not work as expected in 4.0. if (other.GetType() != this.GetType()) { return(false); } ExactLiteralMatcher other1 = other as ExactLiteralMatcher; return(m_target == other1.m_target && m_ws == other1.m_ws); }