/// <summary> /// GetHashCode. /// </summary> /// <returns></returns> public override int GetHashCode() { if (OID != 0 && CodeValue != null) { return(OID.GetHashCode() | CodeValue.GetHashCode()); } if (OID != 0) { return(OID.GetHashCode()); } return(SimpleType != null?SimpleType.GetHashCode() : base.GetHashCode()); }
public override int GetHashCode() { return(Type.GetHashCode()); }