public override bool EquivalentTo(DataType other) { var otherIntervalType = other as IntervalType; return(otherIntervalType != null && PointType.EquivalentTo(otherIntervalType.PointType)); }