public override bool Equals(object obj) { C_Enum ca = obj as C_Enum; return(ca != null && TypeDefName == ca.TypeDefName && Name == ca.Name && (EnumWrapper == null ? ca.EnumWrapper == null : EnumWrapper.Equals(ca.EnumWrapper))); }