Exemple #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         return(((Gamertag?.GetHashCode() ?? 0) * 397) ^ (Xuid?.GetHashCode() ?? 0));
     }
 }
Exemple #2
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = Gamertag?.GetHashCode() ?? 0;
         hashCode = (hashCode * 397) ^ (ExperienceSummary != null ? ExperienceSummary.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (int)ResultCode;
         return(hashCode);
     }
 }