Exemplo n.º 1
0
 public override int GetHashCode()
 {
     unchecked
     {
         int result = (SourceLanguage != null ? SourceLanguage.GetHashCode() : 0);
         result = (result * 397) ^ (TargetLanguage != null ? TargetLanguage.GetHashCode() : 0);
         return(result);
     }
 }
 public override int GetHashCode() => DefaultName.GetHashCode() ^ Version.GetHashCode() ^ Author.GetHashCode()
 ^ TargetLanguage.GetHashCode() ^ SupportedLanguages.GetHashCode() ^ BaseLanguage.GetHashCode()
 ^ (Id.GetHashCode() * 7);