protected override bool Equals(VisitorVariablesBase other) { var o = other as SingleVisitorVariable <TValue>; return(o != null && Key.Equals(o.Key)); }
protected virtual bool Equals(VisitorVariablesBase other) { return(other.GetType() == GetType()); }
protected override bool Equals(VisitorVariablesBase other) { var o = other as CompositeVariable; return(o != null && o.Var1.Equals(Var1)); }