示例#1
0
 /// <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());
 }
示例#2
0
 public override int GetHashCode()
 {
     return(Type.GetHashCode());
 }