Example #1
0
 /// <inheritdoc/>
 public override int GetHashCode()
 {
     unchecked
     {
         int result = base.GetHashCode();
         if (MinInjectorVersion != null)
         {
             result = (result * 397) ^ MinInjectorVersion.GetHashCode();
         }
         if (Uri != null)
         {
             result = (result * 397) ^ Uri.GetHashCode();
         }
         if (Name != null)
         {
             result = (result * 397) ^ Name.GetHashCode();
         }
         result = (result * 397) ^ Summaries.GetSequencedHashCode();
         result = (result * 397) ^ Descriptions.GetSequencedHashCode();
         if (Homepage != null)
         {
             result = (result * 397) ^ Homepage.GetHashCode();
         }
         result = (result * 397) ^ NeedsTerminal.GetHashCode();
         result = (result * 397) ^ Feeds.GetSequencedHashCode();
         result = (result * 397) ^ Categories.GetSequencedHashCode();
         result = (result * 397) ^ Icons.GetSequencedHashCode();
         result = (result * 397) ^ Elements.GetSequencedHashCode();
         result = (result * 397) ^ EntryPoints.GetSequencedHashCode();
         result = (result * 397) ^ CapabilityLists.GetSequencedHashCode();
         return(result);
     }
 }