public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (HostApplicationId != null ? HostApplicationId.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ HostConnectionId.GetHashCode();
         hashCode = (hashCode * 397) ^ HostServiceAlias.GetHashCode();
         hashCode = (hashCode * 397) ^ Title.GetHashCode();
         hashCode = (hashCode * 397) ^ (int)Type;
         return(hashCode);
     }
 }
 private bool Equals(DiscoveredMethodInfo other)
 {
     return(string.Equals(HostApplicationId, other.HostApplicationId) && HostConnectionId.Equals(other.HostConnectionId) && HostServiceAlias.Equals(other.HostServiceAlias) && Title.Equals(other.Title) && Type == other.Type);
 }