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