/// <summary> /// Tests equity between 2 objects using VBA's type promotion rules. /// </summary> /// <param name="x"></param> /// <param name="y"></param> /// <returns>VBA equity</returns> public new bool Equals(object x, object y) { return(VariantComparer.Compare(x, y) == VariantComparisonResults.VARCMP_EQ); }
public bool Equals(VariantComparer other) { return(Equals(_sourceComparer, other._sourceComparer)); }