public override bool Equals(object obj) { if (obj is EnumType) return (EnumType)obj == this; else return base.Equals(obj); }